delete leading slash from url in terms

This commit is contained in:
Dmitry Kolosov 2020-02-19 23:42:23 +03:00
parent 9f0279bfe1
commit 7273a5884c

View File

@ -5,7 +5,7 @@
<ul class="terms"> <ul class="terms">
{{ range $key, $value := .Data.Terms }} {{ range $key, $value := .Data.Terms }}
<li> <li>
<a href="{{ (print "/" $.Data.Plural "/" (lower $key)) | absURL }}"> <a href="{{ (print $.Data.Plural "/" (lower $key)) | absURL }}">
{{ $key }} {{ $key }}
</a> </a>
({{ len $value }}) ({{ len $value }})