actually use .RelPermalink instead of .Permalink

This commit is contained in:
Yihui Xie 2019-04-18 13:57:06 -05:00
parent 91d31b38fb
commit da0192c7a7

View File

@ -5,7 +5,7 @@
<ul class="terms">
{{ range .Data.Terms }}
<li>
<a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> ({{ .Count }})
<a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a> ({{ .Count }})
</li>
{{ end }}
</ul>