mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-16 21:36:56 +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>
|