From e8675fa2902b8dfefe84c255945890ed7c4013d2 Mon Sep 17 00:00:00 2001 From: Andrew Woodlee Date: Wed, 30 Oct 2024 00:09:32 -0500 Subject: [PATCH] override baseof.html to add Analytics --- layouts/_defaults/baseof.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 layouts/_defaults/baseof.html diff --git a/layouts/_defaults/baseof.html b/layouts/_defaults/baseof.html new file mode 100644 index 0000000..7cc62a4 --- /dev/null +++ b/layouts/_defaults/baseof.html @@ -0,0 +1,28 @@ +{{- if lt hugo.Version "0.112.4" }} +{{- errorf "=> hugo v0.112.4 or greater is required for hugo-PaperMod to build " }} +{{- end -}} + + + + + + {{ partialCached "analytics.html" . }} + {{- partial "head.html" . }} + + + + {{- partialCached "header.html" . .Page -}} +
+ {{- block "main" . }}{{ end }} +
+ {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}} + + +