diff --git a/site/themes/citra-bs-theme/layouts/_default/baseof.html b/site/themes/citra-bs-theme/layouts/_default/baseof.html index 97466b5..ba141c1 100755 --- a/site/themes/citra-bs-theme/layouts/_default/baseof.html +++ b/site/themes/citra-bs-theme/layouts/_default/baseof.html @@ -116,6 +116,15 @@ + + + + + {{ block "scripts" . }}{{ end }} {{ if in .Params.js "juxtapose" }} diff --git a/site/themes/citra-bs-theme/layouts/shortcodes/sidebyside.html b/site/themes/citra-bs-theme/layouts/shortcodes/sidebyside.html index 8bb3119..2046042 100644 --- a/site/themes/citra-bs-theme/layouts/shortcodes/sidebyside.html +++ b/site/themes/citra-bs-theme/layouts/shortcodes/sidebyside.html @@ -6,6 +6,7 @@
{{ $.Scratch.Set "size" (div 12 (len $figures)) }} +
{{ range $figure := $figures }} {{ $.Scratch.Set "src" (index (split $figure "=") 0) }} {{ $.Scratch.Set "title" (index (split $figure "=") 1) }} @@ -20,7 +21,9 @@
{{ else if eq $type "image" }} - {{ $.Scratch.Get + + {{ $.Scratch.Get + {{ else if eq $type "imagelink" }} {{ $.Scratch.Get @@ -34,4 +37,5 @@
{{ end }} +