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:
authorMinos Park <m@minospark.com>2021-02-02 06:52:33 +0300
committerGitHub <noreply@github.com>2021-02-02 06:52:33 +0300
commit9f19255597d815de930efcdc253dabdb7c4ebe99 (patch)
tree262ff10876a370368b496426b6bc09917e74d86e
parentdc7258472897eba3a615ae685976db4c70c6c6e6 (diff)
urlize syntax
urlize also makes the string lowercase
-rw-r--r--layouts/partials/list-taxonomy-terms.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/list-taxonomy-terms.html b/layouts/partials/list-taxonomy-terms.html
index f5eb67f..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 := ($term | lower | urlize) }}
+ {{ $term_path := (urlize $term) }}
{{ $term_page := site.GetPage (path.Join $.parent $term_path) }}
{{ $url := $term_page.Permalink}}