summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authoramzrk22020-05-07 13:34:12 +0800
committeramzrk22020-05-07 13:34:12 +0800
commitdbee05798d40f34fcb4875bcf92fa913a190766d (patch)
treef99ab18564a0d197344e4d764de79b0445a6fdbb /layouts/shortcodes
parenta021afb3a7115d271e356264359918b07412f66c (diff)
downloadhugo-theme-fuji-dbee05798d40f34fcb4875bcf92fa913a190766d.tar.gz
hugo-theme-fuji-dbee05798d40f34fcb4875bcf92fa913a190766d.tar.bz2
hugo-theme-fuji-dbee05798d40f34fcb4875bcf92fa913a190766d.zip
Add zoomable images
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/lazyimg-col.html4
-rw-r--r--layouts/shortcodes/lazyimg-row.html4
-rw-r--r--layouts/shortcodes/lazyimg.html4
3 files changed, 9 insertions, 3 deletions
diff --git a/layouts/shortcodes/lazyimg-col.html b/layouts/shortcodes/lazyimg-col.html
index c973e67..ce68446 100644
--- a/layouts/shortcodes/lazyimg-col.html
+++ b/layouts/shortcodes/lazyimg-col.html
@@ -1 +1,3 @@
-<p><img class="lazyload" src="{{ .Site.Params.lazyPlaceholderCol }}" data-src="{{ index .Params 1 }}" alt="{{ index .Params 0 }}" /></p> \ No newline at end of file
+<p>
+ <img class="lazyload img-zoomable" src="{{ .Site.Params.lazyPlaceholderCol }}" data-src="{{ index .Params 1 }}" alt="{{ index .Params 0 }}" />
+</p> \ No newline at end of file
diff --git a/layouts/shortcodes/lazyimg-row.html b/layouts/shortcodes/lazyimg-row.html
index 83c604e..61e61ec 100644
--- a/layouts/shortcodes/lazyimg-row.html
+++ b/layouts/shortcodes/lazyimg-row.html
@@ -1 +1,3 @@
-<p><img class="lazyload" src="{{ .Site.Params.lazyPlaceholderRow }}" data-src="{{ index .Params 1 }}" alt="{{ index .Params 0 }}" /></p> \ No newline at end of file
+<p>
+ <img class="lazyload img-zoomable" src="{{ .Site.Params.lazyPlaceholderRow }}" data-src="{{ index .Params 1 }}" alt="{{ index .Params 0 }}" />
+</p> \ No newline at end of file
diff --git a/layouts/shortcodes/lazyimg.html b/layouts/shortcodes/lazyimg.html
index f9c6959..ff36b35 100644
--- a/layouts/shortcodes/lazyimg.html
+++ b/layouts/shortcodes/lazyimg.html
@@ -1 +1,3 @@
-<p><img class="lazyload" src="{{ .Site.Params.lazyPlaceholder }}" data-src="{{ index .Params 1 }}" alt="{{ index .Params 0 }}" /></p> \ No newline at end of file
+<p>
+ <img class="lazyload img-zoomable" src="{{ .Site.Params.lazyPlaceholder }}" data-src="{{ index .Params 1 }}" alt="{{ index .Params 0 }}" />
+</p> \ No newline at end of file