Skip to content

Commit

Permalink
fix #10: urlize the terms
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Jul 26, 2017
1 parent 8530964 commit 4888812
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 $key, $value := .Data.Terms }}
<li>
<a href="{{ (print "/" $.Data.Plural "/" $key) | relURL }}">
<a href="{{ (print "/" $.Data.Plural "/" $key | urlize) | relURL }}">
{{ $key }}
</a>
({{ len $value }})
Expand Down

0 comments on commit 4888812

Please sign in to comment.