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

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaud Lepretre <thibaud.lepretre@gmail.com>2018-08-26 18:00:08 +0300
committerGitHub <noreply@github.com>2018-08-26 18:00:08 +0300
commit97bbefe8a0c581a96885841c75f8edb7966a04c0 (patch)
treeedd07f05b2e103f62a5a4ee0588d91718253f5e6
parent6dca980161afc86027863bed67bdf5a488378dc0 (diff)
parentf8c51658fbb2b454978420d608ffa0dcabfecea2 (diff)
Merge pull request #291 from kakawait/bugfix/category-remove-urilize
Remove urlize on display name
-rw-r--r--exampleSite/content/post/Who-is-using-Tranquilpeak-Hugo-Theme.md2
-rw-r--r--layouts/taxonomy/category.terms.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/content/post/Who-is-using-Tranquilpeak-Hugo-Theme.md b/exampleSite/content/post/Who-is-using-Tranquilpeak-Hugo-Theme.md
index 34a274e..6df47e3 100644
--- a/exampleSite/content/post/Who-is-using-Tranquilpeak-Hugo-Theme.md
+++ b/exampleSite/content/post/Who-is-using-Tranquilpeak-Hugo-Theme.md
@@ -4,7 +4,7 @@ slug: who-is-using-tranquilpeak-hugo-theme
date: 2015-06-14
categories:
- tranquilpeak
-- showcase
+- showcase appliquée
thumbnailImagePosition: left
thumbnailImage: //d1u9biwaxjngwg.cloudfront.net/cover-image-showcase/city-750.jpg
---
diff --git a/layouts/taxonomy/category.terms.html b/layouts/taxonomy/category.terms.html
index 0e50f64..8614713 100644
--- a/layouts/taxonomy/category.terms.html
+++ b/layouts/taxonomy/category.terms.html
@@ -4,7 +4,7 @@
{{ $page := . }}
{{ if .Params.categories }}
{{ $categories := (apply .Params.categories "urlize" ".") }}
- {{ range $index,$value := $categories }}
+ {{ range $index,$value := .Params.categories }}
{{ if gt $index ($.Scratch.Get "max-level") }}
{{ $.Scratch.Set "max-level" $index }}
{{ end }}