hugo-tufte/layouts/shortcodes/blockquote.html

9 lines
309 B
HTML
Raw Normal View History

2015-12-31 07:10:37 +01:00
<blockquote cite="{{ .Get "cite" }}">
2023-04-18 00:14:50 +02:00
{{ .Inner | $.Page.RenderString (dict "display" "block") }}
<footer>
{{- with .Get "author" -}}{{ . }}{{- end -}}
{{- with .Get "cite" -}}, <cite>{{ . | markdownify }}</cite>{{- end -}}
{{- with .Get "detail" -}}, {{ . | markdownify }}{{- end -}}
</footer>
</blockquote>