Skip to content

Commit

Permalink
I guess it is unnecessary (perhaps even wrong) to urlize terms
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Jun 19, 2017
1 parent 307a0a9 commit 4bb3052
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 | urlize)) | relURL }}">
<a href="{{ (print "/" $.Data.Plural "/" $key) | relURL }}">
{{ $key }}
</a>
({{ len $value }})
Expand Down

0 comments on commit 4bb3052

Please sign in to comment.