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-nz.html | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 layouts/shortcodes/img-nz.html (limited to 'layouts/shortcodes/img-nz.html') diff --git a/layouts/shortcodes/img-nz.html b/layouts/shortcodes/img-nz.html new file mode 100644 index 0000000..1b4f791 --- /dev/null +++ b/layouts/shortcodes/img-nz.html @@ -0,0 +1,7 @@ +{{ if (index .Params 2) }} + + {{ index .Params 0 }} + +{{ else }} +{{ index .Params 0 }} +{{ end }} \ No newline at end of file -- cgit v1.2.3