Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit b8c1ea8

Browse files
committed
Fixed lazy loading for images in blog that should not have the caption 🚀
1 parent 0161703 commit b8c1ea8

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

_includes/blog-post-authors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% assign currentAuthor = site.data.authors[author] %}
44
<div class="blog-post-author d-inline-flex flex-row align-items-center">
55
{% if include.lazy-loading %}
6-
{% include blog-lazy-image.html class="rounded-circle" width="30" height="30" src=currentAuthor.image %}
6+
{% include lazy-image.html alt=currentAuthor.name fill="BDBDBD" src=currentAuthor.image class="img rounded-circle blog-image" %}
77
{% else %}
88
<img alt="{{ currentAuthor.name }}" class="rounded-circle" width="30" height="30" src="{{ currentAuthor.image }}">
99
{% endif %}

_includes/critical-blog.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)