diff options
author | DSRKafuU | 2020-04-23 23:34:45 +0800 |
---|---|---|
committer | GitHub | 2020-04-23 23:34:45 +0800 |
commit | 50900be20164758f1ae3ef1fb18d65424bc98743 (patch) | |
tree | a01ec7f161f73deac667b4e51be4f374b9ea8f5b /layouts/shortcodes | |
parent | aaa441e5f2e065ebcf1e645f7924e9ef28b8d242 (diff) | |
parent | 29f2e593583861173b212c0495dec2e26206072b (diff) | |
download | hugo-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.html | 1 | ||||
-rw-r--r-- | layouts/shortcodes/lazyimg-row.html | 1 | ||||
-rw-r--r-- | layouts/shortcodes/lazyimg.html | 1 |
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 |