diff options
author | Minos Park <m@minospark.com> | 2021-02-02 06:52:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 06:52:33 +0300 |
commit | 9f19255597d815de930efcdc253dabdb7c4ebe99 (patch) | |
tree | 262ff10876a370368b496426b6bc09917e74d86e | |
parent | dc7258472897eba3a615ae685976db4c70c6c6e6 (diff) |
urlize syntax
urlize also makes the string lowercase
-rw-r--r-- | layouts/partials/list-taxonomy-terms.html | 2 |
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}} |