From 6877d06e3d2be9dc533b1437bcd21d8efff5ce44 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 22 May 2022 22:52:51 +0200 Subject: Improve title check --- layouts/partials/title.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/title.html') diff --git a/layouts/partials/title.html b/layouts/partials/title.html index a767901..76cfb2f 100644 --- a/layouts/partials/title.html +++ b/layouts/partials/title.html @@ -1,4 +1,4 @@ -{{- if .IsHome -}} +{{- if or .IsHome (eq .Title site.Title) -}} {{- site.Title -}} {{- else -}} {{- with .Title }}{{ . }} - {{ end }}{{ site.Title -}} -- cgit v1.2.3