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/partials/post-header.html
parentc118b46e16e2eaf26cf225d600fcc09421c2d211 (diff)
fix #4: remove unnecessary absolute links
Diffstat (limited to 'layouts/partials/post-header.html')
-rw-r--r--layouts/partials/post-header.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/post-header.html b/layouts/partials/post-header.html
index f820eaf..75613ea 100644
--- a/layouts/partials/post-header.html
+++ b/layouts/partials/post-header.html
@@ -15,7 +15,7 @@
{{ with .Params.Categories }} ・
{{ range .}}
<span class="post-tag post-meta">
- <a href="{{ $ctx.Site.BaseURL }}{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
+ <a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
</span>
{{ end }}
{{ end }}
@@ -28,7 +28,7 @@
<div class="tagbox post-meta">
{{ range . }}
<span class="post-tag">
- <a href="{{ $ctx.Site.BaseURL }}{{ "/tags/" | relLangURL }}{{ . | urlize }}">#{{ . }}</a>
+ <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">#{{ . }}</a>
</span>
{{ end }}
</div>