blob: b933286e1010ce9e2f4c0a4f8059953e43967049 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{{- $text := default "Speech is silver, silence is golden" (.Get "text" | default (.Get 0)) -}}
{{- $cite := default "" (.Get "cite" | default (.Get 1)) -}}
<q cite="$cite" title="{{ $text | markdownify }}">
{{- if $cite -}}
<a rel="noopener" href="{{ $cite }}" target="_blank">
{{- end -}}
{{ $text | markdownify }}
{{- if $cite -}}
</a>
{{- end -}}
</q>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
|