summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorDSRKafuU2020-04-23 23:34:45 +0800
committerGitHub2020-04-23 23:34:45 +0800
commit50900be20164758f1ae3ef1fb18d65424bc98743 (patch)
treea01ec7f161f73deac667b4e51be4f374b9ea8f5b /layouts/shortcodes
parentaaa441e5f2e065ebcf1e645f7924e9ef28b8d242 (diff)
parent29f2e593583861173b212c0495dec2e26206072b (diff)
downloadhugo-theme-fuji-50900be20164758f1ae3ef1fb18d65424bc98743.tar.gz
hugo-theme-fuji-50900be20164758f1ae3ef1fb18d65424bc98743.tar.bz2
hugo-theme-fuji-50900be20164758f1ae3ef1fb18d65424bc98743.zip
Merge pull request #5 from amzrk2/dev
Merge v1.2.0 dev branch
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/lazyimg-col.html1
-rw-r--r--layouts/shortcodes/lazyimg-row.html1
-rw-r--r--layouts/shortcodes/lazyimg.html1
3 files changed, 3 insertions, 0 deletions
diff --git a/layouts/shortcodes/lazyimg-col.html b/layouts/shortcodes/lazyimg-col.html
new file mode 100644
index 0000000..c973e67
--- /dev/null
+++ b/layouts/shortcodes/lazyimg-col.html
@@ -0,0 +1 @@
+<p><img class="lazyload" 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
new file mode 100644
index 0000000..83c604e
--- /dev/null
+++ b/layouts/shortcodes/lazyimg-row.html
@@ -0,0 +1 @@
+<p><img class="lazyload" 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
new file mode 100644
index 0000000..f9c6959
--- /dev/null
+++ b/layouts/shortcodes/lazyimg.html
@@ -0,0 +1 @@
+<p><img class="lazyload" src="{{ .Site.Params.lazyPlaceholder }}" data-src="{{ index .Params 1 }}" alt="{{ index .Params 0 }}" /></p> \ No newline at end of file