diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-12-02 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-12-02 00:00:00 +0000 |
commit | 444f2c5a41659e23398e4fe873c3d1f623d23c6ade88b8f1a92da16e6a20eece (patch) | |
tree | a569062ea21b146e547400b171cc7b21621dac9a3bfa1b3ead09c9ebed80d6f2 | |
parent | 3f660b7aac980d14ab6f55b306c8e12bf2e425a8a023e5c4df76a3bffd89aeb2 (diff) | |
download | hugo-theme-journal-444f2c5a41659e23398e4fe873c3d1f623d23c6ade88b8f1a92da16e6a20eece.tar.gz hugo-theme-journal-444f2c5a41659e23398e4fe873c3d1f623d23c6ade88b8f1a92da16e6a20eece.zip |
Lazy load inline images
-rw-r--r-- | layouts/_default/_markup/render-image.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html new file mode 100644 index 0000000..9056793 --- /dev/null +++ b/layouts/_default/_markup/render-image.html @@ -0,0 +1 @@ +<img src="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }} alt="{{ .Text }}" loading="lazy">
\ No newline at end of file |