Skip to content

Commit

Permalink
delete leading slash from url in terms
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitrichius committed Feb 19, 2020
1 parent 9f0279b commit 7273a58
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>{{ i18n .Title }}</h1>
<ul class="terms">
{{ range $key, $value := .Data.Terms }}
<li>
<a href="{{ (print "/" $.Data.Plural "/" (lower $key)) | absURL }}">
<a href="{{ (print $.Data.Plural "/" (lower $key)) | absURL }}">
{{ $key }}
</a>
({{ len $value }})
Expand Down

0 comments on commit 7273a58

Please sign in to comment.