From f8c51658fbb2b454978420d608ffa0dcabfecea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaud=20Lepr=C3=AAtre?= Date: Sun, 26 Aug 2018 16:57:01 +0200 Subject: Remove urlize on display name fixes #269 --- exampleSite/content/post/Who-is-using-Tranquilpeak-Hugo-Theme.md | 2 +- layouts/taxonomy/category.terms.html | 2 +- 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 }} -- cgit v1.2.3