You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
732 B
HTML
20 lines
732 B
HTML
{{ $align := .Get "align" | default "center" }}
|
|
{{ $caption := .Get "caption" }}
|
|
{{ $cite := .Get 0 | default (.Get "cite") }}
|
|
|
|
{{ $caption = $caption | markdownify }}
|
|
{{ $cite = $cite | markdownify }}
|
|
{{ $content := .Inner | markdownify }}
|
|
|
|
<figure class="d-flex align-items-center flex-column paige-figure">
|
|
<div>
|
|
<blockquote class="blockquote {{ if $caption }} mb-2 {{ end }} text-{{ $align }}">{{ $content }}</blockquote>
|
|
{{ with $caption }}
|
|
<figcaption class="figure-caption text-center">{{ . }}</figcaption>
|
|
{{ end }}
|
|
{{ with $cite }}
|
|
<figcaption class="blockquote-footer figure-caption text-{{ $align }}">{{ . }}</figcaption>
|
|
{{ end }}
|
|
</div>
|
|
</figure>
|