From 6aac6d4470d2ca8a5f865f260ebfb6eed1f01846 Mon Sep 17 00:00:00 2001 From: Andrew Woodlee Date: Wed, 30 Oct 2024 00:09:20 -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") -}} + + +