bbb / layouts /shortcodes /epigraph.html
no-name-here's picture
Upload 165 files
fca4ff8 verified
Raw
History Blame Contribute Delete
443 Bytes
{{- $link := .Get "link" }}
<div role="doc-epigraph" class="epigraph">
<blockquote>
{{ .Inner | markdownify }}
{{- if .IsNamedParams }}
<footer>
{{- with .Get "pre" }}{{ . }}{{ end }}
{{- with .Get "cite" }}<cite>{{ if $link }}<a href="{{ $link }}">{{ . }}</a>{{ else }}{{ . }}{{ end }}</cite>{{ end }}
{{- with .Get "post" }}{{ . }}{{ end }}
</footer>
{{- end }}
<blockquote>
</div>