15 lines
287 B
HTML
15 lines
287 B
HTML
{{ $author := .Get "author" }}
|
|
{{ $url := .Get "url" }}
|
|
<figure class="quote">
|
|
<p>{{ .Inner }}</p>
|
|
{{ if $author }}
|
|
<cite>
|
|
{{ if $url }}
|
|
<a href="{{ $url }}">{{ $author }}</a>
|
|
{{ else }}
|
|
{{ $author }}
|
|
{{ end }}
|
|
</cite>
|
|
{{ end }}
|
|
</figure>
|