|
|
@ -3,7 +3,7 @@
|
|
|
|
{{ $compact := .compact }}
|
|
|
|
{{ $compact := .compact }}
|
|
|
|
{{ $content := .content | markdownify }}
|
|
|
|
{{ $content := .content | markdownify }}
|
|
|
|
{{ $float := .float }}
|
|
|
|
{{ $float := .float }}
|
|
|
|
{{ $gap := .gap | default "2" }}
|
|
|
|
{{ $gap := .gap }}
|
|
|
|
{{ $height := .height }}
|
|
|
|
{{ $height := .height }}
|
|
|
|
{{ $maxheight := .maxheight }}
|
|
|
|
{{ $maxheight := .maxheight }}
|
|
|
|
{{ $maxwidth := .maxwidth }}
|
|
|
|
{{ $maxwidth := .maxwidth }}
|
|
|
@ -78,7 +78,7 @@
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
<div class="text-{{ $align }}">{{ $content }}</div>
|
|
|
|
<div class="text-{{ $align }}">{{ $content }}</div>
|
|
|
|
{{ with $caption }}
|
|
|
|
{{ with $caption }}
|
|
|
|
<figcaption class="figure-caption mt-{{ $gap }} text-{{ $align }}" {{ if $table }} style="caption-side: bottom; display: table-caption" {{ end }}>{{ . }}</figcaption>
|
|
|
|
<figcaption class="figure-caption {{ with $gap }} mt-{{ . }} {{ end }} text-{{ $align }}" {{ if $table }} style="caption-side: bottom; display: table-caption" {{ end }}>{{ . }}</figcaption>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ if $table }}
|
|
|
|
{{ if $table }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|