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

github.com/mdashx/basicwebtheme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/list-taxonomy-terms.html2
-rw-r--r--layouts/section/archives.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/list-taxonomy-terms.html b/layouts/partials/list-taxonomy-terms.html
index 9c813eb..aab2278 100644
--- a/layouts/partials/list-taxonomy-terms.html
+++ b/layouts/partials/list-taxonomy-terms.html
@@ -2,7 +2,7 @@
{{ range $term := .terms }}
- {{ $term_path := lower (replace ($term) " " "-") }}
+ {{ $term_path := (urlize $term) }}
{{ $term_page := site.GetPage (path.Join $.parent $term_path) }}
{{ $url := $term_page.Permalink}}
diff --git a/layouts/section/archives.html b/layouts/section/archives.html
index 1a893c4..d7506fa 100644
--- a/layouts/section/archives.html
+++ b/layouts/section/archives.html
@@ -22,7 +22,7 @@
</div>
<div class="post-tags">
{{ range .Params.Tags}}
- <a href="/tags/{{ . }}">{{ . }}</a>
+ <a href="/tags/{{ . }}">{{ . | urlize}}</a>
{{ end }}
</div>
</div>