From da67c4e25adeacc42c2bac321fcd3abfcbdc2566 Mon Sep 17 00:00:00 2001 From: Keichi Takahashi Date: Tue, 3 Feb 2015 22:42:27 +0900 Subject: [PATCH] Do not show page title at the homepage --- layouts/partials/header.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5ebe186..8c04f76 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -6,7 +6,13 @@ - {{ .Title }} | {{ .Site.Title }} + + {{ if eq .Url "/" }} + {{ .Site.Title }} + {{ else }} + {{ .Title }} · {{ .Site.Title }} + {{ end }} +