summary refs log tree commit diff stats
path: root/templates/gallery.crotmp
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2022-06-10 00:30:39 +0530
committerAndinus <andinus@nand.sh>2022-06-10 00:30:39 +0530
commit1ac31ef10cc799f3cb7fc94d34178290a4e8dc00 (patch)
tree52bc9eca8fc2a1e230ff13b7875b5759d39c48e7 /templates/gallery.crotmp
parent2085b4cac3a86d59360531d48251c8ab39dec0dd (diff)
downloadcrater-1ac31ef10cc799f3cb7fc94d34178290a4e8dc00.tar.gz
CSS & Image Optimzations, Print password
- Prints password required to access.
- will-change lets the browser prepare for those changes in advance.
- loading="lazy" enables lazy loading on images.

- column-fill: balance -- not an optimization.
Diffstat (limited to 'templates/gallery.crotmp')
-rw-r--r--templates/gallery.crotmp2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/gallery.crotmp b/templates/gallery.crotmp
index a47804f..2afe7e9 100644
--- a/templates/gallery.crotmp
+++ b/templates/gallery.crotmp
@@ -4,7 +4,7 @@
     <@gallery : $i>
 
     <?{ $i.<type> eq 'img' }>
-    <img src="<$i.<src>>">
+    <img src="<$i.<src>>" loading="lazy">
     </?>
 
     <?{ $i.<type> eq 'text' }>