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

github.com/jpescador/hugo-future-imperfect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Gillich <jakob@gillich.me>2017-11-24 05:03:29 +0300
committerPatrick Collins <thepatrickcollins@gmail.com>2017-11-24 05:03:29 +0300
commitbf565742364c821f1dddfc98cf1bc383f5da2a7d (patch)
tree4654332634559efadbbf04aa8ddddf2046cfa203
parent2b1e823b2535990317310bce7f821229c525feeb (diff)
fix dynamicTitles param being ignored (#85)
-rw-r--r--layouts/partials/navbar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html
index 9641403..1f1812c 100644
--- a/layouts/partials/navbar.html
+++ b/layouts/partials/navbar.html
@@ -1,6 +1,6 @@
<!-- Header -->
<header id="header">
- {{ if .IsHome }}
+ {{ if or .IsHome (not .Site.Params.DynamicTitles) }}
<h1><a href="{{ "/" | relURL }}">{{ .Site.Params.navbarTitle }}</a></h1>
{{ else if ne .Section "" }}
<h1><a href="{{ "/" | relURL }}">{{ .Section }}</a></h1>