1
Fork 0

Fix unnecessary conditional

This commit is contained in:
Jake Howard 2018-08-15 21:15:31 +01:00
parent 7b8e616bea
commit d5b7022469
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,4 +1,4 @@
{{ .page.Title }} {{ if ne .age .current }}::{{ end }} {{ .page.Title }} ::
{{ if .page.Parent }}{{ if not .page.Parent.IsHome }} {{ if .page.Parent }}{{ if not .page.Parent.IsHome }}
{{ partial "title-item.html" (dict "page" .page.Parent "current" .current) }} {{ partial "title-item.html" (dict "page" .page.Parent "current" .current) }}