aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/shortcodes/link.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/shortcodes/link.html')
-rw-r--r--themes/default/layouts/shortcodes/link.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/themes/default/layouts/shortcodes/link.html b/themes/default/layouts/shortcodes/link.html
index 4b9b7a6..efcdf78 100644
--- a/themes/default/layouts/shortcodes/link.html
+++ b/themes/default/layouts/shortcodes/link.html
@@ -17,7 +17,14 @@
<link-card>
<a href="{{ $source }}">
- <img alt="{{ $host }}" src="{{ $image.Permalink }}" />
+ <img
+ loading="lazy"
+ alt="{{ $host }}"
+ title="{{ $host }}"
+ height="{{ $image.Height }}"
+ width="{{ $image.Width }}"
+ src="{{ $image.Permalink }}"
+ />
</a>
<article>
<h2>{{ $host }}</h2>