include complete URL in tags

I want to resolve #71 with this - links to tags should now also
work when the site is not living in a domain's root.
This commit is contained in:
Stefan Foerster 2017-08-06 10:41:42 +02:00
commit 2506a38947
3 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@
{{ if .Params.tags }}
<span class="post-meta">
{{ range .Params.tags }}
#<a href="{{ $.Site.LanguagePrefix }}/tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
#<a href="{{ $.Site.LanguagePrefix | absURL }}tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
{{ end }}
</span>
{{ end }}