From 3065147286aa556d2fbfffedd1280e3425bc6a5d Mon Sep 17 00:00:00 2001 From: Alexis Tacnet Date: Tue, 6 Dec 2016 23:57:06 +0100 Subject: [PATCH] Add site title everywhere --- layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 03a4d7f..3c2d476 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,10 +3,10 @@ {{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} -{{ if eq $url "/" }} +{{ if eq $url "" }} {{ .Site.Title }} {{ else }} - {{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Title }} {{ end }} + {{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Site.Title }} - {{ .Title }} {{ end }} {{ end }}