Skip to content

Commit

Permalink
actually use .RelPermalink instead of .Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Apr 18, 2019
1 parent 91d31b3 commit da0192c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h1>{{ .Title }}</h1>
<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>
Expand Down

0 comments on commit da0192c

Please # to comment.