diff --git a/README.md b/README.md
index 376cf11f..9fc09cde 100644
--- a/README.md
+++ b/README.md
@@ -85,9 +85,9 @@ Single pages use the `link` page parameter, if any, as the reference for
an anchor around the page title, if any. If the page or site parameter
`math` is set to true, math typesetting is enabled with KaTeX.
-If `partials/head.html` exists in the site, it is included at the end of
-the head tag. If `partials/body.html` exists in the site, it is included
-at the end of the body tag.
+If `partials/paige_head_last.html` exists in the site, it is included at
+the end of the head tag. If `partials/paige_body_last.html` exists in
+the site, it is included at the end of the body tag.
Bootstrap 5.2.2 CSS and JavaScript and Bootstrap Icons 1.10.2 are loaded
from the Bootstrap CDN for every page.
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 37557dc0..a47b5311 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,85 +1,23 @@
-
-
- {{ if .Site.Author.name }}
-
- {{ end }}
- {{ if .Description }}
-
- {{ end }}
- {{ if or .Keywords .Params.tags .Params.categories }}
-
- {{ end }}
-
- {{ template "_internal/opengraph.html" . }}
- {{ template "_internal/twitter_cards.html" . }}
- {{ if and (and .Title .Site.Title) (or (not (eq .Title .Site.Title)) (not .IsHome)) }}
- {{ .Title | markdownify | plainify | htmlUnescape }} · {{ .Site.Title | markdownify | plainify | htmlUnescape }}
- {{ else if .Title }}
- {{ .Title | markdownify | plainify | htmlUnescape }}
- {{ else if .Site.Title }}
- {{ .Site.Title | markdownify | plainify | htmlUnescape }}
- {{ end }}
-
-
- {{ if or .Site.Params.math .Params.math }}
-
- {{ end }}
- {{ range .AlternativeOutputFormats }}
-
- {{ end }}
-
- {{ if templates.Exists "partials/head.html" }}
- {{ partial "head.html" . }}
- {{ end }}
-
+ {{ partial "paige_head.html" . }}
- {{ if .Site.Menus.main }}
-
- {{ partial "paige_menu.html" . }}
-
- {{ end }}
+ {{ partial "paige_header.html" . }}
{{ block "main" . }}{{ end }}
- {{ if .Site.Copyright }}
-
- {{ end }}
+ {{ partial "paige_footer.html" . }}