mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 17:52:11 +00:00
aad8b11a70
- New shortcode for quotation. Not using this yet. - Make picture shortcode round image dimensions to integer values. - Make quotecaption support code snippets borrowed from other places. Not using this yet.
7 lines
261 B
HTML
7 lines
261 B
HTML
{{- $itemprop := "mentions" -}}
|
|
{{- with .Get "itemprop" -}}
|
|
{{- $itemprop = . -}}
|
|
{{- end -}}
|
|
<figure itemprop="{{ $itemprop }}"{{ with .Get "id" }} id="{{ . }}"{{ end }} itemscope itemtype="https://schema.org/Quotation">
|
|
{{ .Inner | markdownify }}
|
|
</figure>
|