From d5b7022469bf4a49060f6850361fd37444e1cf62 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 15 Aug 2018 21:15:31 +0100 Subject: [PATCH] Fix unnecessary conditional --- layouts/partials/title-item.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/title-item.html b/layouts/partials/title-item.html index 2cd62aa..51c4262 100644 --- a/layouts/partials/title-item.html +++ b/layouts/partials/title-item.html @@ -1,4 +1,4 @@ -{{ .page.Title }} {{ if ne .age .current }}::{{ end }} +{{ .page.Title }} :: {{ if .page.Parent }}{{ if not .page.Parent.IsHome }} {{ partial "title-item.html" (dict "page" .page.Parent "current" .current) }}