From 1891bd816cdad9cf60cb6b175707c9e2ac4f5e99 Mon Sep 17 00:00:00 2001 From: "Evan G." Date: Sat, 18 May 2024 17:43:45 -0500 Subject: [PATCH] Fork off the Project --- layouts/index.html | 12 ++++++++++++ layouts/partials/head.html | 3 +++ layouts/partials/header.html | 21 +++++++++++++-------- 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index c596063..77022d7 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,19 @@ {{ define "main" }} + {{ partial "metadata.html" . }} +
+ {{ .Content }} +
+
+ {{ range where .Site.RegularPages "Section" "in" .Site.MainSections }} +
+

{{ .LinkTitle }}

+

{{ .Summary }}

+
+ {{ end }} +
{{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b2eceb4..4d2d054 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -10,4 +10,7 @@ {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ $title }} {{ partial "hook_head_end.html" . }} + {{ if .IsHome }} + + {{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7bcaaa8..922aad3 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,15 +1,20 @@ -

{{ $.Site.Title }}

-

{{ $.Site.Params.subtitle }}

- {{ $navbar_style := (default "classy" $.Site.Params.navbar_style) }} +

{{ $.Site.Title }}

+{{ else if .IsPage }} +Go Home + +

{{ $.Site.Params.subtitle }}

+{{ end }} +