forked from mirrors/hugo-tufte
Allows adding link to the citation in the epigraph
This commit is contained in:
parent
66a3d218df
commit
69ceb70a48
1 changed files with 2 additions and 0 deletions
|
@ -5,7 +5,9 @@
|
|||
{{ if .IsNamedParams }}
|
||||
<footer>
|
||||
{{ with .Get "pre" }}{{ . }}{{ end }}
|
||||
{{ with .Get "link" }}<a href={{ . }}>{{ end }}
|
||||
{{ with .Get "cite" }}<cite>{{ . }}</cite>{{ end }}
|
||||
</a>
|
||||
{{ with .Get "post" }}{{ . }}{{ end }}
|
||||
</footer>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue