Move _paige/* URLs to */paige/*
This commit is contained in:
23
config.yaml
23
config.yaml
@@ -20,27 +20,30 @@ module:
|
||||
target: "static"
|
||||
# Bootstrap
|
||||
- source: "paige/node_modules/bootstrap/dist/css"
|
||||
target: "assets/_paige/bootstrap"
|
||||
target: "assets/css/paige/bootstrap"
|
||||
includeFiles: ["/bootstrap.css"]
|
||||
- source: "paige/node_modules/bootstrap/dist/js"
|
||||
target: "assets/_paige/bootstrap"
|
||||
target: "assets/js/paige/bootstrap"
|
||||
includeFiles: ["/bootstrap.bundle.js"]
|
||||
- source: "paige/node_modules/bootstrap/js/dist"
|
||||
target: "assets/_paige/bootstrap"
|
||||
target: "assets/js/paige/bootstrap"
|
||||
- source: "paige/node_modules/bootstrap/scss"
|
||||
target: "assets/_paige/bootstrap"
|
||||
target: "assets/css/paige/bootstrap"
|
||||
# Bootstrap Icons
|
||||
- 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"
|
||||
target: "assets/_paige/bootstrap-icons"
|
||||
target: "assets/css/paige/bootstrap-icons"
|
||||
includeFiles: ["/bootstrap-icons.css"]
|
||||
# Katex
|
||||
- source: "paige/node_modules/katex/dist/contrib"
|
||||
target: "assets/_paige/katex"
|
||||
target: "assets/js/paige/katex"
|
||||
includeFiles: ["/auto-render.min.js"]
|
||||
- source: "paige/node_modules/katex/dist/fonts"
|
||||
target: "static/_paige/katex/fonts"
|
||||
target: "static/css/paige/katex/fonts"
|
||||
- source: "paige/node_modules/katex/dist"
|
||||
target: "assets/_paige/katex"
|
||||
includeFiles: ["/katex.min.css", "/katex.min.js"]
|
||||
target: "assets/css/paige/katex"
|
||||
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">
|
||||
{{ 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 }}
|
||||
|
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user