From 8def58e17d820a16860930b4f2fc60a1c2e15e6e Mon Sep 17 00:00:00 2001 From: Josh Leeb-du Toit Date: Mon, 31 Jul 2017 20:29:17 +1000 Subject: [PATCH] Fix duplicate about nav link naming for tags --- exampleSite/config.toml | 1 + layouts/partials/nav.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 54f1389..4e71ca5 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -48,6 +48,7 @@ hasCJKLanguage = true about = "" archive = "" subscribe = "" + tags = "" # Pagination links olderPosts = "" newerPosts = "" diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 5635a62..1dbf68c 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -4,7 +4,7 @@ {{ with .Site.Params.home }}{{ . }}{{ else }}Home{{ end }} {{ end }} {{ with .Site.Params.archive }}{{ . }}{{ else }}Archive{{ end }} - {{ with .Site.Params.about }}{{ . }}{{ else }}Tags{{ end }} + {{ with .Site.Params.tags }}{{ . }}{{ else }}Tags{{ end }} {{ with .Site.Params.about }}{{ . }}{{ else }}About{{ end }} {{ range $key, $val := .Site.Params.Links }}