Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/7ma7X/HugoTeX.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaito Sugimoto <hellorusk1998@gmail.com>2022-11-06 05:11:44 +0300
committerGitHub <noreply@github.com>2022-11-06 05:11:44 +0300
commit93d5cc0ad74d6d951afe87df1ce51977a7f41a6a (patch)
treeda90430bd3c0d0ed5d07aa0549359cfa60525fb8
parentc9fd31ef69c5c40341476e6b1bff840a62b9dcb0 (diff)
parentea292f6cf169fcc8d33b0448606548ba996d5e7f (diff)
Merge pull request #17 from LuciferianInk/tags-handlingmain
fix tags when baseURL = "/"
-rw-r--r--layouts/_default/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9997b19..7fccde4 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -10,7 +10,7 @@
{{ if .Params.tags }}
<div class="blog-tags">
{{ range .Params.tags }}
- <a href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
+ <a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">{{ . }}</a>&nbsp;
{{ end }}
</div>
{{ end }}
@@ -22,4 +22,4 @@
</button>
{{ end }}
</div>
-{{ end }} \ No newline at end of file
+{{ end }}