mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-26 07:19:45 +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>
|