mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-23 22:09:44 +01:00
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