diff --git a/layouts/entry/single.html b/layouts/entry/single.html index 8d24e5a..7b9f342 100644 --- a/layouts/entry/single.html +++ b/layouts/entry/single.html @@ -34,4 +34,18 @@ {{ end }} +{{ end }} + +{{ define "css" }} + +{{ end }} + +{{ define "scripts" }} + + + {{ end }} \ No newline at end of file diff --git a/layouts/shortcodes/imgs.html b/layouts/shortcodes/imgs.html new file mode 100644 index 0000000..f5fa671 --- /dev/null +++ b/layouts/shortcodes/imgs.html @@ -0,0 +1,16 @@ +
+ {{ range $param := .Params }} + + {{ $items := split $param "|" }} + {{ $src := (index $items 0) }} + {{ $title := (index $items 1) }} +
+ + {{ $title }} + + {{ if $title }} +

{{ $title }}

+ {{ end }} +
+ {{ end }} +
\ No newline at end of file