Hugo snippets
This commit is contained in:
parent
1070beca4d
commit
b3a953580e
1 changed files with 4 additions and 2 deletions
|
|
@ -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 >}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue