Move defaults to param var decls
This commit is contained in:
@@ -1,10 +1,8 @@
|
|||||||
{{ $align := .Get "align" | default "center" }}
|
{{ $align := .Get "align" | default "center" }}
|
||||||
{{ $caption := .Get "caption" }}
|
{{ $caption := .Get "caption" | markdownify }}
|
||||||
{{ $cite := .Get 0 | default (.Get "cite") }}
|
{{ $cite := (.Get 0 | default (.Get "cite")) | markdownify }}
|
||||||
{{ $float := .Get "float" }}
|
{{ $float := .Get "float" }}
|
||||||
|
|
||||||
{{ $caption = $caption | markdownify }}
|
|
||||||
{{ $cite = $cite | markdownify }}
|
|
||||||
{{ $content := .Inner | markdownify }}
|
{{ $content := .Inner | markdownify }}
|
||||||
|
|
||||||
{{ $margins := "" }}
|
{{ $margins := "" }}
|
||||||
|
Reference in New Issue
Block a user