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

github.com/matsuyoshi30/harbor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatsuyoshi <sfbgwm30@gmail.com>2021-10-28 16:15:41 +0300
committermatsuyoshi <sfbgwm30@gmail.com>2021-10-28 16:15:41 +0300
commit1254cfc82197955480110456555ea082bc04eb78 (patch)
tree28d68e2b533e0e1f189488afbb7a05656a380c92
parent17049841b8c8b8855add5eb537e1cb70a606b73e (diff)
Fix setting title at home page
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index dda2612..e746975 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,5 +1,5 @@
<meta charset="utf-8" />
-<title>{{ .Title }}</title>
+<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }}{{ end }}</title>
{{ with .Site.Params.description }}
<meta name="description" content="{{ . }}" />
{{ end }}