diff --git a/layouts/index.html b/layouts/index.html index 6398cef..69a5914 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,41 @@ {{ .Scratch.Set "body_class" "landing" }} -{{ partial "header.html" . }} + + + + + Home - Dragon Linux + + + + + + {{ if .OutputFormats.Get "RSS" }} + + + {{ end }} + + + + + + + + + + + + + + +
diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html index c392db7..2a68b6c 100644 --- a/layouts/partials/breadcrumbs.html +++ b/layouts/partials/breadcrumbs.html @@ -1,22 +1,20 @@ - {{ define "breadcrumbnav" }} {{ if .p1.Parent }} - {{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2) }} +{{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }} {{ else if not .p1.IsHome }} - {{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2) }} +{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }} {{ end }} - {{ if .p1.IsHome }} - - Home - Dragon Linux - + + + {{ else }} - / - - {{ .p1.Title }} - +/ + + {{ .p1.Title }} + {{ end }} {{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d8fad28..063198c 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -2,7 +2,7 @@ - Home {{ if not .IsHome }}{{.Title}} - {{ end }}Dragon Linux + {{ if not .IsHome }}{{.Title}} - {{ end }}Dragon Linux