diff options
author | dataCobra <datacobra@mailbox.org> | 2019-12-18 21:14:43 +0300 |
---|---|---|
committer | dataCobra <datacobra@mailbox.org> | 2019-12-18 21:14:43 +0300 |
commit | 949b15aacf13afb0a34217361edbb039fba0408d (patch) | |
tree | 6ecaa4a00217744673b7845c870b639f6004fa3d | |
parent | c2835ee50aa89910a96ede6fadf8795fc6a5f98f (diff) |
Remove params for tags in exampleSite/config.toml1.0.0
-rw-r--r-- | exampleSite/config.toml | 3 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index f2dec16..d8aeae2 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -26,9 +26,6 @@ disqusShortname = "hugo-vitae" # Content types to disable Disqus on. disableDisqusTypes = ["page"] - # Name your tags - tags = "tags" - # customCSS = "css/custom.css" # Custom CSS applied to default styles. # Nav. diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6e3a43e..d1f5190 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -24,7 +24,7 @@ </div> <div class="tags"> - {{ $taxo := .Site.Params.tags }} + {{ $taxo := $.Site.Params.tags }} {{ range .Param $taxo }} {{ $name := . }} {{ with $.Site.GetPage (printf "/%s/%s" $taxo ($name | urlize)) }} |