diff options
author | amzrk2 | 2020-05-07 13:34:12 +0800 |
---|---|---|
committer | amzrk2 | 2020-05-07 13:34:12 +0800 |
commit | dbee05798d40f34fcb4875bcf92fa913a190766d (patch) | |
tree | f99ab18564a0d197344e4d764de79b0445a6fdbb /layouts/shortcodes | |
parent | a021afb3a7115d271e356264359918b07412f66c (diff) | |
download | hugo-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.html | 4 | ||||
-rw-r--r-- | layouts/shortcodes/lazyimg-row.html | 4 | ||||
-rw-r--r-- | layouts/shortcodes/lazyimg.html | 4 |
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 |