From 1170701c6a759e4cd426bc3e040aeee9a7cc7664 Mon Sep 17 00:00:00 2001 From: MattTheTekie Date: Thu, 4 Sep 2025 20:04:19 -0400 Subject: [PATCH] chore: update site --- layouts/index.html | 38 ++++++++++++++++++++++++++++++- layouts/partials/breadcrumbs.html | 20 ++++++++-------- layouts/partials/header.html | 2 +- 3 files changed, 47 insertions(+), 13 deletions(-) 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