diff options
| author | Thai Ngo <42998134+HBTghost@users.noreply.github.com> | 2019-09-15 16:04:56 +0700 |
|---|---|---|
| committer | Track3 <34504964+Track3@users.noreply.github.com> | 2019-09-15 17:04:56 +0800 |
| commit | 91a18a1a92332d3cdfd071b5532716477788e107 (patch) | |
| tree | 481b963cea4c80c26f652b5f3b8f4ed5adb75232 /layouts/posts | |
| parent | 1321f9e135e68b731fb575ec0651fc59e8e6f02c (diff) | |
Fix URLs in Multilingual Mode (#93)
Make below links correct in Multilingual Mode:
* tag links in single post page
* footer RSS link
* 404 page "archive" link
Diffstat (limited to 'layouts/posts')
| -rw-r--r-- | layouts/posts/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 371de79..d221abb 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -37,7 +37,7 @@ <p> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag meta-icon"><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7" y2="7"></line></svg> {{- range . -}} - <span class="tag"><a href="{{ "tags/" | absURL }}{{ . | urlize }}">{{.}}</a></span> + <span class="tag"><a href="{{ "tags/" | absLangURL }}{{ . | urlize }}">{{.}}</a></span> {{- end }} </p> {{- end }} |
