From 4e670c556a6d8da5f935bba5948c39af9e6541be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20M=2E=20Sapka?= Date: Wed, 17 May 2023 12:37:47 +0200 Subject: feat: article for 2023-05-17 --- layouts/shortcodes/svg-full-width.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 layouts/shortcodes/svg-full-width.html (limited to 'layouts/shortcodes') diff --git a/layouts/shortcodes/svg-full-width.html b/layouts/shortcodes/svg-full-width.html new file mode 100644 index 0000000..4c604ab --- /dev/null +++ b/layouts/shortcodes/svg-full-width.html @@ -0,0 +1,20 @@ +{{- $file := .Get 0 }} +{{- $path := printf "content_images/%s" $file}} +{{- $img := resources.Get $path }} +{{- $caption := .Get 1 }} +{{- $source := .Get 2 }} +
+ {{ $caption }} +
+ {{ $caption }} + + {{- if $source }} + [source] + {{ end }} +
+
-- cgit v1.2.3