From b3a953580e8a6b94d89d2f873076957df8daf1bc Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Mon, 20 Dec 2021 17:36:34 -0300 Subject: [PATCH] Hugo snippets --- mysnippets/markdown.snippets | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mysnippets/markdown.snippets b/mysnippets/markdown.snippets index 58f127c..6eb371c 100644 --- a/mysnippets/markdown.snippets +++ b/mysnippets/markdown.snippets @@ -1,6 +1,7 @@ snippet fig "Hugo Figure" {{< figure link="img/$1.jpg" thumb="_small" -caption="$2" >}} +caption="$2" +caption-position="bottom">}} $0 endsnippet @@ -8,7 +9,8 @@ snippet gal "Hugo Gallery" {{< gallery hover-effect="none" caption-effect="none" >}} {{< figure link="img/$1.jpg" thumb="_small" -caption="$2" >}} +caption="$2" +caption-position="bottom">}} $3 {{< /gallery >}}