summaryrefslogtreecommitdiffstats
path: root/template.html
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2024-04-02 14:55:28 +0300
committerJan Tuomi <jan@jantuomi.fi>2024-04-02 14:55:28 +0300
commit72ab6099d2f841d59ed942da61331b83961c1b5c (patch)
tree8809756fd91d6d97e381f8d1e1192f248d59ce9a /template.html
parent1ce2f74f5c8eb048ebd8099a067e38045c616c0f (diff)
Make h-card image loading lazy, fix dark mode button padding
Diffstat (limited to 'template.html')
-rw-r--r--template.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/template.html b/template.html
index 116580f..b7fa436 100644
--- a/template.html
+++ b/template.html
@@ -125,7 +125,7 @@ $if(slug)$
<div style="display: none;" class="h-entry">
<div class="e-content p-name">$title$</div>
<a rel="author" class="p-author h-card" href="https://jan.systems">
- <img class="u-photo" src="https://jan.systems/files/Jan_Tuomi_headshot.jpg">
+ <img class="u-photo" src="https://jan.systems/files/Jan_Tuomi_headshot.jpg" loading="lazy">
Jan Tuomi
</a>
<a class="u-url" href="https://jan.systems/archive/$slug$">
@@ -140,7 +140,7 @@ $endif$
<a class="u-url" href="https://jan.systems">jan.systems</a>
<a class="u-url" href="https://github.com/jantuomi" rel="me">GitHub</a>
<p class="p-note">Digital gardener, senior software engineer by trade.</p>
- <img class="u-photo" src="https://jan.systems/files/Jan_Tuomi_headshot.jpg">
+ <img class="u-photo" src="https://jan.systems/files/Jan_Tuomi_headshot.jpg" loading="lazy">
<p class="p-name"Jan Tuomi</p>
<p class="p-nickname">@jantuomi</p>
<p class="p-country-name">Finland</p>