diff options
author | Zachary Betz <zwbetz@gmail.com> | 2019-03-05 21:19:53 +0300 |
---|---|---|
committer | Zachary Betz <zwbetz@gmail.com> | 2019-03-05 21:19:53 +0300 |
commit | 67ba0083853d6af93e77e39f5085f04aef9c8356 (patch) | |
tree | ca6d95acf188e715730a866937e415f9e9fad5c7 /layouts | |
parent | 950271552417c9aab4d4602ddf392cd4c9fc8636 (diff) |
Add trailing url to tag
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/post/single.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html index f8984ef..5b409be 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -19,7 +19,8 @@ <svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false"> <use xlink:href="#tag"></use> </svg> - <a href="{{ "tags/" | absLangURL }}{{ . | urlize }}">{{ . }}</a> + {{ $href := print ("tags/" | absLangURL) (. | urlize) "/" }} + <a href="{{ $href }}">{{ . }}</a> </li> {{ end }} </ul> |