Use BaseURL in anchor tag

feature/cover-image
nodejh 7 years ago
parent 59857ef849
commit 98cd7f9f63

@ -11,7 +11,7 @@
{{ range $key, $value := .Data.Terms.ByCount }} {{ range $key, $value := .Data.Terms.ByCount }}
{{ if ($value.Name) }} {{ if ($value.Name) }}
<li> <li>
<a href="{{ $.Site.BaseURL }}/{{ $data.Plural }}/{{ $value.Name | urlize }}"> <a href="{{ $.Site.BaseURL }}{{ $data.Plural }}/{{ $value.Name | urlize }}">
{{ $value.Name | upper }} <span>({{ $value.Count }})</span> {{ $value.Name | upper }} <span>({{ $value.Count }})</span>
</a> </a>

Loading…
Cancel
Save