diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 000000000..beb2d8619
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,124 @@
+
+
+
+
+ {{/* https://www.zachleat.com/web/preload/ */}}
+
+
+
+
+
+ {{/* NOTE: the Site's title, and if there is a page title, that is set too */}}
+
+ {{ block "title" . }}
+ {{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}
+ {{ end }}
+
+
+
+
+ {{ hugo.Generator }}
+
+ {{ if hugo.IsProduction }}
+
+ {{ else }}
+
+ {{ end }}
+
+ {{ range .AlternativeOutputFormats -}}
+
+ {{ end -}}
+
+ {{ $isDev := eq hugo.Environment "development" }}
+ {{ $stylesheet := resources.Get "output/css/app.css" }}
+ {{ if not $isDev }}
+ {{ $stylesheet = $stylesheet | minify | fingerprint }}
+ {{ end }}
+ {{ with $stylesheet }}
+ {{ if $isDev }}
+
+ {{ else }}
+
+ {{ end }}
+ {{ $.Scratch.Set "stylesheet" . }}
+ {{ end }}
+
+
+
+
+ {{ block "scripts" . }}
+ {{- partial "site-scripts.html" . -}}
+ {{ end }}
+ {{ partial "site-manifest.html" . }}
+ {{- partial "head-additions.html" . -}}
+ {{- partial "opengraph/opengraph.html" . -}}
+ {{- template "_internal/schema.html" . -}}
+ {{- partial "opengraph/twitter_cards.html" . -}}
+
+ {{ if hugo.IsProduction }}
+ {{ partial "gtag.html" . }}
+ {{ end }}
+
+ {{ $hasMath := .Param "math" }}
+ {{ if $hasMath }}
+ {{ partialCached "math.html" . }}
+ {{ end }}
+
+
+
+
+ {{ partial "hooks/after-body-start.html" . }}
+ {{ block "nav" . }}{{ partial "site-nav.html" . }}{{ end }}
+ {{ block "header" . }}{{ end }}
+
+
+ {{ block "footer" . }}{{ partialCached "site-footer.html" . }}{{ end }}
+
+ {{ partial "hooks/before-body-end.html" . }}
+
+
+
diff --git a/layouts/partials/math.html b/layouts/partials/math.html
new file mode 100644
index 000000000..b1eb5c8db
--- /dev/null
+++ b/layouts/partials/math.html
@@ -0,0 +1,16 @@
+
+