diff options
author | matsuyoshi <sfbgwm30@gmail.com> | 2021-10-28 16:15:41 +0300 |
---|---|---|
committer | matsuyoshi <sfbgwm30@gmail.com> | 2021-10-28 16:15:41 +0300 |
commit | 1254cfc82197955480110456555ea082bc04eb78 (patch) | |
tree | 28d68e2b533e0e1f189488afbb7a05656a380c92 | |
parent | 17049841b8c8b8855add5eb537e1cb70a606b73e (diff) |
Fix setting title at home page
-rw-r--r-- | layouts/partials/head.html | 2 |
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 }} |