diff --git a/layouts/shortcodes/gifv.html b/layouts/shortcodes/gifv.html new file mode 100644 index 0000000..92ecdd9 --- /dev/null +++ b/layouts/shortcodes/gifv.html @@ -0,0 +1,19 @@ + +
+ {{ range $param := .Params }} + + {{ $items := split $param "|" }} + {{ $src := (index $items 0) }} + {{ $title := (index $items 1) }} +
+ + + {{ if $title }} +

{{ $title }}

+ {{ end }} +
+ {{ end }} +