Move _paige/* URLs to */paige/*

master
Will Faught 2 years ago
parent 56203ee675
commit 285597d2c2

@ -20,27 +20,30 @@ module:
target: "static" target: "static"
# Bootstrap # Bootstrap
- source: "paige/node_modules/bootstrap/dist/css" - source: "paige/node_modules/bootstrap/dist/css"
target: "assets/_paige/bootstrap" target: "assets/css/paige/bootstrap"
includeFiles: ["/bootstrap.css"] includeFiles: ["/bootstrap.css"]
- source: "paige/node_modules/bootstrap/dist/js" - source: "paige/node_modules/bootstrap/dist/js"
target: "assets/_paige/bootstrap" target: "assets/js/paige/bootstrap"
includeFiles: ["/bootstrap.bundle.js"] includeFiles: ["/bootstrap.bundle.js"]
- source: "paige/node_modules/bootstrap/js/dist" - source: "paige/node_modules/bootstrap/js/dist"
target: "assets/_paige/bootstrap" target: "assets/js/paige/bootstrap"
- source: "paige/node_modules/bootstrap/scss" - source: "paige/node_modules/bootstrap/scss"
target: "assets/_paige/bootstrap" target: "assets/css/paige/bootstrap"
# Bootstrap Icons # Bootstrap Icons
- source: "paige/node_modules/bootstrap-icons/font/fonts" - source: "paige/node_modules/bootstrap-icons/font/fonts"
target: "static/_paige/bootstrap-icons/fonts" target: "static/css/paige/bootstrap-icons/fonts"
- source: "paige/node_modules/bootstrap-icons/font" - source: "paige/node_modules/bootstrap-icons/font"
target: "assets/_paige/bootstrap-icons" target: "assets/css/paige/bootstrap-icons"
includeFiles: ["/bootstrap-icons.css"] includeFiles: ["/bootstrap-icons.css"]
# Katex # Katex
- source: "paige/node_modules/katex/dist/contrib" - source: "paige/node_modules/katex/dist/contrib"
target: "assets/_paige/katex" target: "assets/js/paige/katex"
includeFiles: ["/auto-render.min.js"] includeFiles: ["/auto-render.min.js"]
- source: "paige/node_modules/katex/dist/fonts" - source: "paige/node_modules/katex/dist/fonts"
target: "static/_paige/katex/fonts" target: "static/css/paige/katex/fonts"
- source: "paige/node_modules/katex/dist" - source: "paige/node_modules/katex/dist"
target: "assets/_paige/katex" target: "assets/css/paige/katex"
includeFiles: ["/katex.min.css", "/katex.min.js"] includeFiles: ["/katex.min.css"]
- source: "paige/node_modules/katex/dist"
target: "assets/js/paige/katex"
includeFiles: ["/katex.min.js"]

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

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

Loading…
Cancel
Save