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:
Diffstat (limited to 'layouts/_default/taxonomy.html')
-rw-r--r--layouts/_default/taxonomy.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index e95a91c..7ddc3b9 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -17,7 +17,7 @@
{{- $ctx := . -}}
{{ range .Site.Taxonomies.categories.ByCount }}
<div class="container" style="margin-bottom: 0.5rem">
- <a href="{{ $ctx.Site.BaseURL }}{{ "/categories/" | relLangURL }}{{ .Name | urlize }}/">{{ .Name }}</a>
+ <a href="{{ "/categories/" | relLangURL }}{{ .Name | urlize }}/">{{ .Name }}</a>
<span class="tag is-medium is-pulled-right">
{{ .Count }}
</span>
@@ -42,7 +42,7 @@
{{ range .Site.Taxonomies.tags.ByCount }}
<div class="control">
<div class="tags has-addons">
- <a class="tag is-medium" href="{{$ctx.Site.BaseURL}}{{ "/tags/" | relLangURL }}{{ .Name | urlize }}/">{{ .Name }}</a>
+ <a class="tag is-medium" href="{{ "/tags/" | relLangURL }}{{ .Name | urlize }}/">{{ .Name }}</a>
<span class="tag is-medium is-primary">
{{ .Count }}
</span>