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

github.com/zwbetz-gh/minimal-bootstrap-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Betz <zwbetz@gmail.com>2019-01-27 22:58:37 +0300
committerZachary Betz <zwbetz@gmail.com>2019-01-27 22:58:37 +0300
commit0f3773a551028449610021127917924908be8bd7 (patch)
tree4e28d2585ea4e16c3028a0e843f5addce291d65c
parentc0349388664baa13f2fd419efbdc6dd971466ad9 (diff)
Set default homepage title
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/head.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 8b71150..455e6aa 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,6 @@
{{- define "main" -}}
-{{ $homepage := "" }}
+{{ $homepage := "Home" }}
{{ with .Site.Menus.nav }}
{{ range first 1 . }}
{{ $homepage = .Name }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 49e1619..f900e11 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -31,7 +31,7 @@
<link rel="stylesheet" href="{{ $bootstrapCss | absURL }}" />
{{ if .IsHome }}
- {{ $homepage := "" }}
+ {{ $homepage := "Home" }}
{{ with .Site.Menus.nav }}
{{ range first 1 . }}
{{ $homepage = .Name }}