From dfb6e1f80754c1c8f2d4d332c5292319f008a67b Mon Sep 17 00:00:00 2001
From: amzrk2
Date: Wed, 27 May 2020 22:53:13 +0800
Subject: v2 original port
---
layouts/shortcodes/img-lazy.html | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 layouts/shortcodes/img-lazy.html
(limited to 'layouts/shortcodes/img-lazy.html')
diff --git a/layouts/shortcodes/img-lazy.html b/layouts/shortcodes/img-lazy.html
new file mode 100644
index 0000000..fef9bd3
--- /dev/null
+++ b/layouts/shortcodes/img-lazy.html
@@ -0,0 +1,10 @@
+{{ if len .Params | eq 2 }}
+
+{{ else if len .Params | eq 3 }}{{ if eq (index .Params 0) "row" }}
+
+{{ else if eq (index .Params 0) "col" }}
+
+{{ else }}{{ end }}{{ else }}{{ end }}
\ No newline at end of file
--
cgit v1.2.3