Updating nav bar to only display when there are menu items in the config file

This commit is contained in:
Brian Hamill 2020-08-28 15:51:29 +01:00
parent c1bcf8c340
commit 3675771935
4 changed files with 124 additions and 10 deletions

View file

@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="referrer" content="no-referrer-when-downgrade">
<title>{{ if .Title }}{{ .Title }}{{ else }}{{ .Site.Title }}{{end}}</title>
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
<meta name="description" content="{{ .Site.Params.Description }}">
{{ with .OutputFormats.Get "rss" -}}