From 8113f43b368e83fe51800b8ffc78681821d011f4 Mon Sep 17 00:00:00 2001 From: Henrique Marques Date: Sat, 17 Aug 2024 08:28:46 +0100 Subject: add new files --- themes/lugo/layouts/shortcodes/img.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 themes/lugo/layouts/shortcodes/img.html (limited to 'themes/lugo/layouts/shortcodes/img.html') diff --git a/themes/lugo/layouts/shortcodes/img.html b/themes/lugo/layouts/shortcodes/img.html new file mode 100644 index 0000000..ff7959b --- /dev/null +++ b/themes/lugo/layouts/shortcodes/img.html @@ -0,0 +1,20 @@ + +
+ {{- with .Get "link"}}{{ end -}} + {{.}} + {{- if .Get "link"}}{{ end -}} + {{- with .Get "caption" -}} +
+ {{- . -}} +
+ {{- end -}} +
-- cgit v1.3