From 1e58948395bfa19eafec70d190f465787ff15f91 Mon Sep 17 00:00:00 2001 From: Alexis Tacnet Date: Wed, 4 Jan 2017 01:02:05 +0100 Subject: [PATCH] Replace the old method to see if it is home by .IsHome --- layouts/partials/header.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5eafc08..e659861 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -5,8 +5,7 @@ -{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} -{{ if eq $url "" }} +{{ if .IsHome }}
{{ else }}