diff --git a/layouts/_default/term.html b/layouts/_default/term.html
index 47f1eac0..8235f475 100644
--- a/layouts/_default/term.html
+++ b/layouts/_default/term.html
@@ -1,4 +1,4 @@
{{ define "main" }}
-{{ partial "paige/article" . }}
-{{ partial "paige/pages" . }}
+{{ partial "paige/article.html" . }}
+{{ partial "paige/pages.html" . }}
{{ end }}
diff --git a/layouts/partials/paige/article.html b/layouts/partials/paige/article.html
index 6906fd12..1302e9dc 100644
--- a/layouts/partials/paige/article.html
+++ b/layouts/partials/paige/article.html
@@ -1,7 +1,7 @@
- {{ partial "paige/metadata" . }}
- {{ partial "paige/toc" . }}
- {{ partial "paige/content" . }}
+ {{ partial "paige/metadata.html" . }}
+ {{ partial "paige/toc.html" . }}
+ {{ partial "paige/content.html" . }}
diff --git a/layouts/partials/paige/head.html b/layouts/partials/paige/head.html
index 7c7cf259..90bdb200 100644
--- a/layouts/partials/paige/head.html
+++ b/layouts/partials/paige/head.html
@@ -1,9 +1,9 @@
- {{ partial "paige/metas" . }}
- {{ partial "paige/func-title" . }}
- {{ partial "paige/links" . }}
- {{ partial "paige/style" . }}
+ {{ partial "paige/metas.html" . }}
+ {{ partial "paige/func-title.html" . }}
+ {{ partial "paige/links.html" . }}
+ {{ partial "paige/style.html" . }}
{{ if templates.Exists "partials/paige-head-last.html" }}
- {{ partial "paige/head-last" . }}
+ {{ partial "paige/head-last.html" . }}
{{ end }}
diff --git a/layouts/partials/paige/header.html b/layouts/partials/paige/header.html
index b4e8ee88..fda0a11d 100644
--- a/layouts/partials/paige/header.html
+++ b/layouts/partials/paige/header.html
@@ -1,5 +1,5 @@
{{ if .Site.Menus.main }}
- {{ partial "paige/menu" . }}
+ {{ partial "paige/menu.html" . }}
{{ end }}
diff --git a/layouts/partials/paige/links.html b/layouts/partials/paige/links.html
index ade7697e..65cc3f67 100644
--- a/layouts/partials/paige/links.html
+++ b/layouts/partials/paige/links.html
@@ -8,22 +8,22 @@
-{{ partial "paige/link" (dict
+{{ partial "paige/link.html" (dict
"href" (.Site.Params.paige.bootstrap.icons.link_href | default "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css")
"integrity" (.Site.Params.paige.bootstrap.icons.link_integrity | default "sha384-b6lVK+yci+bfDmaY1u0zE8YYJt0TZxLEAFyYSLHId4xoVvsrQu3INevFKo+Xir8e")
) }}
-{{ partial "paige/link" (dict
+{{ partial "paige/link.html" (dict
"href" (.Site.Params.paige.bootstrap.style.link_href | default "https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css")
"integrity" (.Site.Params.paige.bootstrap.style.link_integrity | default "sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD")
) }}
{{ if or .Params.paige.math (and .Params.paige.show_full_pages (where .Pages "Params.paige.math" "eq" true)) }}
-{{ partial "paige/link" (dict
+{{ partial "paige/link.html" (dict
"href" (.Site.Params.paige.math.style.link_href | default "https://cdn.jsdelivr.net/npm/katex@0.16.3/dist/katex.min.css")
"integrity" (.Site.Params.paige.math.style.link_integrity | default "sha384-Juol1FqnotbkyZUT5Z7gUPjQ9gzlwCENvUZTpQBAPxtusdwFLRy382PSDx5UUJ4/")
) }}
{{ end }}
{{ if .AlternativeOutputFormats }}
-{{ $title := partial "paige/func-title" . }}
+{{ $title := partial "paige/func-title.html" . }}
{{ range .AlternativeOutputFormats }}
{{ end }}
diff --git a/layouts/partials/paige/metadata.html b/layouts/partials/paige/metadata.html
index 34aea251..d36cc3bb 100644
--- a/layouts/partials/paige/metadata.html
+++ b/layouts/partials/paige/metadata.html
@@ -1,5 +1,5 @@
diff --git a/layouts/partials/paige/metas.html b/layouts/partials/paige/metas.html
index 3c26ef7a..f5dc4841 100644
--- a/layouts/partials/paige/metas.html
+++ b/layouts/partials/paige/metas.html
@@ -1,5 +1,5 @@
-{{ with partial "paige/func-authors" . }}
+{{ with partial "paige/func-authors.html" . }}
{{ end }}
{{ with .Description }}
diff --git a/layouts/partials/paige/other.html b/layouts/partials/paige/other.html
index 5a1bbf8b..634430d2 100644
--- a/layouts/partials/paige/other.html
+++ b/layouts/partials/paige/other.html
@@ -1,4 +1,4 @@
-{{ $authors := partial "paige/func-authors" . }}
+{{ $authors := partial "paige/func-authors.html" . }}
{{ if or $authors .PublishDate}}
{{- with $authors }}{{ . }}{{ end -}}
diff --git a/layouts/partials/paige/pages.html b/layouts/partials/paige/pages.html
index 041240c8..a201edf8 100644
--- a/layouts/partials/paige/pages.html
+++ b/layouts/partials/paige/pages.html
@@ -4,13 +4,13 @@
{{ range $p.Pages }}
{{ .Scratch.Set "paige_show_full_pages" true }}
- {{ partial "paige/article" . }}
+ {{ partial "paige/article.html" . }}
{{ end }}
{{ if or $p.HasPrev $p.HasNext }}
- {{ partial "paige/pagination" . }}
+ {{ partial "paige/pagination.html" . }}
{{ end }}
@@ -29,7 +29,7 @@
{{ if or $p.HasPrev $p.HasNext }}
- {{ partial "paige/pagination" . }}
+ {{ partial "paige/pagination.html" . }}
{{ end }}
diff --git a/layouts/partials/paige/scripts.html b/layouts/partials/paige/scripts.html
index 6d00a5c6..d462436f 100644
--- a/layouts/partials/paige/scripts.html
+++ b/layouts/partials/paige/scripts.html
@@ -40,16 +40,16 @@ paigeQuery.addEventListener("change", function (e) {
{{ end }}
-{{ partial "paige/script" (dict
+{{ partial "paige/script.html" (dict
"integrity" (.Site.Params.paige.bootstrap.script.script_integrity | default "sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN")
"src" (.Site.Params.paige.bootstrap.script.script_src | default "https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js")
) }}
{{ if or .Params.paige.math (and .Params.paige.show_full_pages (where .Pages "Params.paige.math" "eq" true)) }}
-{{ partial "paige/script" (dict
+{{ partial "paige/script.html" (dict
"integrity" (.Site.Params.paige.math.script.script_integrity | default "sha384-97gW6UIJxnlKemYavrqDHSX3SiygeOwIZhwyOKRfSaf0JWKRVj9hLASHgFTzT+0O")
"src" (.Site.Params.paige.math.script.script_src | default "https://cdn.jsdelivr.net/npm/katex@0.16.3/dist/katex.min.js")
) }}
-{{ partial "paige/script" (dict
+{{ partial "paige/script.html" (dict
"integrity" (.Site.Params.paige.math.autorender.script_integrity | default "sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05")
"onload" "renderMathInElement(document.body);"
"src" (.Site.Params.paige.math.autorender.script_src | default "https://cdn.jsdelivr.net/npm/katex@0.16.3/dist/contrib/auto-render.min.js")