1
0
Fork 0

Hugo snippets

This commit is contained in:
Felipe Contreras 2021-12-20 17:36:34 -03:00
parent 1070beca4d
commit b3a953580e

View file

@ -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 >}}