Allows adding link to the citation in the epigraph

This commit is contained in:
Dwarkesh Patel 2021-07-31 09:18:32 -05:00
parent 66a3d218df
commit 69ceb70a48

View file

@ -5,7 +5,9 @@
{{ if .IsNamedParams }} {{ if .IsNamedParams }}
<footer> <footer>
{{ with .Get "pre" }}{{ . }}{{ end }} {{ with .Get "pre" }}{{ . }}{{ end }}
{{ with .Get "link" }}<a href={{ . }}>{{ end }}
{{ with .Get "cite" }}<cite>{{ . }}</cite>{{ end }} {{ with .Get "cite" }}<cite>{{ . }}</cite>{{ end }}
</a>
{{ with .Get "post" }}{{ . }}{{ end }} {{ with .Get "post" }}{{ . }}{{ end }}
</footer> </footer>
{{ end }} {{ end }}