Skip to content

Commit

Permalink
lazy loading changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelmdLow committed Sep 28, 2024
1 parent cdffe25 commit eb026e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<a href={{ self.link }}>
<h3 class="issueText">{{ self.date }}</h3>
{% if self.show_image and self.image %}
{% image self.image width-350 format-webp as mag %}
<img class="issue_img" src="{{mag.url}}" alt="{{self.date}} Issue">
{% image self.image width-700 format-webp as mag %}
<img class="issue_img" src="{{mag.url}}" loading='lazy' alt="{{self.date}} Issue">
{% endif %}
</a>
</li>
2 changes: 1 addition & 1 deletion navigation/templates/navigation/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<div class="about">
<div class="footer-branding">
<img class="logo" src="{% static 'ubyssey/images/ubyssey-logo-blue.svg' %}" loading="lazy" alt="The Ubyssey Logo"/>
<img class="logo" src="{% static 'ubyssey/images/ubyssey-logo-blue.svg' %}" alt="The Ubyssey Logo"/>
<img class="funding" src="{% static 'ubyssey/images/canada-funding-dark.png' %}" loading="lazy" alt="Funded by the Government of Canada"/>
</div>

Expand Down

0 comments on commit eb026e1

Please sign in to comment.