Omphaloskepsis-2/layouts/shortcodes/q.html
2023-08-07 18:23:46 -04:00

9 lines
386 B
HTML

{{- /**/ -}}
<q
itemscope
itemtype="Quotation"
{{- if .Params -}}{{- with .Params.cite }} cite="{{ . }}"{{- end -}}{{- if .Params.lang }} lang="{{ .Params.lang }}" title="{{ .Params.trans }}"{{- end -}}{{- end -}}>
{{- with .Params -}}{{- with .cite -}}<meta itemprop="isBasedOn" content="{{ . }}">{{- end -}}{{- end -}}
{{- .Inner | .Page.RenderString -}}
</q>
{{- /**/ -}}