Skip to content

Commit

Permalink
Правит загрузку изображений на странице списка статей
Browse files Browse the repository at this point in the history
  • Loading branch information
monochromer authored and pepelsbey committed Sep 5, 2023
1 parent f18f39a commit 54988f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/includes/article-card.njk
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
article-card__photo{{ articleType }}
blob__photo"
src="/people/{{ personPhoto }}"
width="80" height="74"
width="80" height="80"
{% if articleType === '--articles' %}loading="lazy"{% endif %}
alt="{{ person.name }}">
</div>
{% endfor %}
Expand Down

0 comments on commit 54988f5

Please sign in to comment.