mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-23 22:09:44 +01:00
12 lines
368 B
HTML
12 lines
368 B
HTML
<div class="epigraph">
|
|
<blockquote>
|
|
{{ .Inner | $.Page.RenderString (dict "display" "block") }}
|
|
{{ if .IsNamedParams }}
|
|
<footer>
|
|
{{- with .Get "author" -}}{{ . }}{{- end -}}
|
|
{{- with .Get "cite" -}}, <cite>{{ . | markdownify }}</cite>{{- end -}}
|
|
{{- with .Get "detail" -}}, {{ . | markdownify }}{{- end -}}
|
|
</footer>
|
|
{{ end }}
|
|
</blockquote>
|
|
</div>
|