Format template

master
Will Faught 2 years ago
parent c8c7593509
commit beb3538b48

@ -70,16 +70,21 @@
{{ if or $heightish $widthish (and (not $float) $style) }} {{ if or $heightish $widthish (and (not $float) $style) }}
<div {{ if or $heightish $widthish }} class="{{ if $height }} d-flex flex-column justify-content-{{ $vertical }} {{ end }} overflow-auto" {{ end }} {{ if and (not $float) $style }} style="{{ $style | safeCSS }}" {{ end }}> <div {{ if or $heightish $widthish }} class="{{ if $height }} d-flex flex-column justify-content-{{ $vertical }} {{ end }} overflow-auto" {{ end }} {{ if and (not $float) $style }} style="{{ $style | safeCSS }}" {{ end }}>
{{ end }} {{ end }}
{{ if $table }} {{ if $table }}
<div class="d-table"> <div class="d-table">
{{ end }} {{ end }}
<div class="text-{{ $horizontal }}">{{ $content }}</div> <div class="text-{{ $horizontal }}">{{ $content }}</div>
{{ if $showcaption }} {{ if $showcaption }}
<figcaption class="figure-caption {{ with $gap }} mt-{{ . }} {{ end }} text-{{ $horizontal }}" {{ if $table }} style="caption-side: bottom; display: table-caption" {{ end }}>{{ $caption }}</figcaption> <figcaption class="figure-caption {{ with $gap }} mt-{{ . }} {{ end }} text-{{ $horizontal }}" {{ if $table }} style="caption-side: bottom; display: table-caption" {{ end }}>{{ $caption }}</figcaption>
{{ end }} {{ end }}
{{ if $table }} {{ if $table }}
</div> </div>
{{ end }} {{ end }}
{{ if or $heightish $widthish (and (not $float) $style) }} {{ if or $heightish $widthish (and (not $float) $style) }}
</div> </div>
{{ end }} {{ end }}

Loading…
Cancel
Save