Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken image fallback #373

Merged
merged 1 commit into from
Jan 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions freezing/web/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h4 class="modal-title text-truncate" id="myLargeModalLabel-1">
<div id="sect-main" class="card mb-3 my-lg-4 bg-light">
<div class="p-4 px-lg-5 d-flex flex-column flex-lg-row align-items-center">
<div class="d-flex flex-column align-items-center me-lg-5">
<img src="/img/logo-blue-sm.png"
<img src="/img/logo-blue.png"
height="160"
width="160"
alt="Snowflake made of bike chain parts" />
Expand Down Expand Up @@ -277,7 +277,7 @@ <h3>
class="photo-thumbnail"
data-bs-toggle="modal"
data-bs-target=".pop-up-{{ photo.id }}"
style="background-image: url('{{ photo.img_l }}')"></a>
style="background-image: url('{{ photo.img_l }}'), url('/img/logo-blue.png')"></a>
<!-- p class="mt-1">Taken by <a href="/people/{{ photo.ride.athlete.id }}">{{ photo.ride.athlete.display_name }}</a></p -->
{% endif %}
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion freezing/web/templates/photos.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1 class="page-header mb-4">
data-parent=".gallery-wrapper"
{# djlint:off #}
data-footer='<p>Taken by <a href="/people/{{ photo.ride.athlete.id }}" class="hover-underline">{{ photo.ride.athlete.display_name }}</a> {% if photo.ref %}<a href='{{photo.ref}}'>View in Instagram</a>{% endif %}</p>'
style="background-image: url('{{ photo.img_l }}');">
style="background-image: url('{{ photo.img_l }}'), url('/img/logo-blue.png');">
{# djlint:on #}
</a>
{% endfor %}
Expand Down
Loading