diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/st-logo.html | 5 | ||||
-rw-r--r-- | layouts/shortcodes/svg-raw.html | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/layouts/shortcodes/st-logo.html b/layouts/shortcodes/st-logo.html new file mode 100644 index 00000000..8dbb6c1f --- /dev/null +++ b/layouts/shortcodes/st-logo.html @@ -0,0 +1,5 @@ +{{- $file := .Get 0 }} +<div style="margin: 0 30%"> + {{- $path := printf "assets/content_images/%s" $file}} + {{- $path | readFile | safeHTML -}} +</div> diff --git a/layouts/shortcodes/svg-raw.html b/layouts/shortcodes/svg-raw.html new file mode 100644 index 00000000..950c4f5d --- /dev/null +++ b/layouts/shortcodes/svg-raw.html @@ -0,0 +1,3 @@ +{{- $file := .Get 0 }} +{{- $path := printf "assets/content_images/%s" $file}} +{{ $path | readFile | safeHTML }} |