From 5c1ee356eb1fc573bfc725e3f474efe61df42294 Mon Sep 17 00:00:00 2001 From: 7ma7X Date: Tue, 2 Jun 2020 11:23:21 +0900 Subject: fix title --- layouts/partials/head.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b67c244..d562495 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,5 +1,9 @@ -{{ .Title }} +{{ if .Title }} + {{ .Title }} - {{ .Site.Title }} +{{ else }} + {{ .Site.Title }} +{{ end }} {{ with .Site.Params.description }} {{ end }} -- cgit v1.2.3