Merge pull request #31 from mfridman/patch-1

Use BaseURL in anchor tag
feature/cover-image
Hang Jiang 7 years ago committed by GitHub
commit 59857ef849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.LanguagePrefix }}/{{ $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