Move _paige/* URLs to */paige/*

This commit is contained in:
Will Faught
2023-04-23 23:11:12 -07:00
parent 56203ee675
commit 285597d2c2
4 changed files with 19 additions and 16 deletions

View File

@@ -32,11 +32,11 @@
<link href="{{ (resources.Get `site.webmanifest` | resources.ExecuteAsTemplate `site.webmanifest` .).RelPermalink | safeURL }}" rel="manifest">
{{ end }}
{{ partial "paige/link.html" (dict "href" "_paige/bootstrap/paige.scss" "page" $page "sass" true "template" true) }}
{{ partial "paige/link.html" (dict "href" "_paige/bootstrap-icons/bootstrap-icons.css") }}
{{ partial "paige/link.html" (dict "href" "css/paige/bootstrap/paige.scss" "page" $page "sass" true "template" true) }}
{{ partial "paige/link.html" (dict "href" "css/paige/bootstrap-icons/bootstrap-icons.css") }}
{{ if $page.Param "paige.math" }}
{{ partial "paige/link.html" (dict "href" "_paige/katex/katex.min.css") }}
{{ partial "paige/link.html" (dict "href" "css/paige/katex/katex.min.css") }}
{{ end }}
{{ if .AlternativeOutputFormats }}

View File

@@ -28,11 +28,11 @@ function paigeResize() {
paigeResize();
addEventListener("resize", paigeResize);
</script>
{{ partial "paige/script.html" (dict "src" "_paige/bootstrap/bootstrap.bundle.js") }}
{{ partial "paige/script.html" (dict "src" "js/paige/bootstrap/bootstrap.bundle.js") }}
{{ if $page.Param "paige.math" }}
{{ partial "paige/script.html" (dict "src" "_paige/katex/katex.min.js") }}
{{ partial "paige/script.html" (dict "onload" "renderMathInElement(document.body);" "src" "_paige/katex/auto-render.min.js") }}
{{ partial "paige/script.html" (dict "src" "js/paige/katex/katex.min.js") }}
{{ partial "paige/script.html" (dict "onload" "renderMathInElement(document.body);" "src" "js/paige/katex/auto-render.min.js") }}
{{ end }}
{{ partial "paige/analytics.html" $page }}