From 15f4483713aeb4ff46210a24851984fb72de9eed Mon Sep 17 00:00:00 2001 From: Ben Varick Date: Tue, 2 Jan 2024 22:25:56 -0600 Subject: [PATCH] removed ananke --- layouts/page/single.html | 15 +++++++++++++ layouts/partials/site-footer.html | 11 ++++++++++ layouts/partials/site-header.html | 35 +++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 layouts/page/single.html create mode 100644 layouts/partials/site-footer.html create mode 100644 layouts/partials/site-header.html diff --git a/layouts/page/single.html b/layouts/page/single.html new file mode 100644 index 0000000..2497e1b --- /dev/null +++ b/layouts/page/single.html @@ -0,0 +1,15 @@ +{{ define "header" }}{{ partial "page-header.html" . }}{{ end }} +{{ define "main" }} +
+
+
+

+ +

+
+ +
+
+{{ end }} diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html new file mode 100644 index 0000000..4afa1a0 --- /dev/null +++ b/layouts/partials/site-footer.html @@ -0,0 +1,11 @@ + diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html new file mode 100644 index 0000000..32184fe --- /dev/null +++ b/layouts/partials/site-header.html @@ -0,0 +1,35 @@ +{{ $featured_image := partial "func/GetFeaturedImage.html" . }} +{{ if $featured_image }} + {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} +
+
+ {{ partial "site-navigation.html" .}} +
+

+ +

+ {{ with .Params.description }} +

+ {{ . }} +

+ {{ end }} +
+
+
+{{ else }} +
+
+ {{ partial "site-navigation.html" . }} +
+

+ {{ .Title | default .Site.Title }} +

+ {{ with .Params.description }} +

+ {{ . }} +

+ {{ end }} +
+
+
+{{ end }}