blob: 1355467f6efc20d31af7570c7b85de4a38b29576 [file] [log] [blame]
{{define "quote info" -}}
{{- with (yaml .info)}}
<div class="QuoteBlock">
<p class="QuoteBlock-body">
{{markdown .quote}}
</p>
{{- if .author}}
<div class="QuoteBlock-author">
{{- with .link}}
<a class="QuoteBlock-link" href="{{.}}" target="_blank" rel="noopener">
{{- end}}
&mdash; {{.author}}
{{- if .title}},&nbsp;<span>{{.title}}</span>{{end}}
{{- with .link}}
</a>
{{- end -}}
</div>
{{- end}}
</div>
{{- end}}
{{end}}