mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-24 08:26:57 +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>
|