diff --git a/assets/_paige/bootstrap/paige.scss b/assets/css/paige/bootstrap/paige.scss similarity index 100% rename from assets/_paige/bootstrap/paige.scss rename to assets/css/paige/bootstrap/paige.scss diff --git a/config.yaml b/config.yaml index debbfe32..5678cb40 100644 --- a/config.yaml +++ b/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"] diff --git a/layouts/partials/paige/links.html b/layouts/partials/paige/links.html index 2fb5269f..98f13f24 100644 --- a/layouts/partials/paige/links.html +++ b/layouts/partials/paige/links.html @@ -32,11 +32,11 @@ {{ 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 }} diff --git a/layouts/partials/paige/scripts.html b/layouts/partials/paige/scripts.html index 7d0db828..2be2bc8c 100644 --- a/layouts/partials/paige/scripts.html +++ b/layouts/partials/paige/scripts.html @@ -28,11 +28,11 @@ function paigeResize() { paigeResize(); addEventListener("resize", paigeResize); -{{ 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 }}