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

github.com/wlh320/hugo-theme-hulga.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzilcH40 <wlh233@live.com>2022-09-12 06:45:04 +0300
committerzilcH40 <wlh233@live.com>2022-09-12 06:45:40 +0300
commitf944fea8ba84a0aee2f91fcc5944faa9d7b88436 (patch)
tree7d9afb751ee6e4094f3d3e05c7c0c21574ad88b3 /layouts/_default/term.html
parentc118b46e16e2eaf26cf225d600fcc09421c2d211 (diff)
fix #4: remove unnecessary absolute links
Diffstat (limited to 'layouts/_default/term.html')
-rw-r--r--layouts/_default/term.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/term.html b/layouts/_default/term.html
index 9874224..94de3c4 100644
--- a/layouts/_default/term.html
+++ b/layouts/_default/term.html
@@ -33,7 +33,7 @@
{{ with .Params.Categories }} ・
{{ range .}}
<span class="post-tag post-box-category">
- <a href="{{ $ctx.Site.BaseURL }}{{ "/categories/" | relLangURL }}{{ . | urlize }}/">{{ . }}</a>
+ <a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}/">{{ . }}</a>
</span>
{{ end }}
{{ end }}
@@ -42,7 +42,7 @@
<div class="post-box-tags">
{{ range .}}
<span class="post-tag post-box-tag">
- <a href="{{ $ctx.Site.BaseURL }}{{ "/tags/" | relLangURL }}{{ . | urlize }}/">#{{ . }}</a>
+ <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}/">#{{ . }}</a>
</span>
{{ end }}
</div>