Change file prefix to _paige

master
Will Faught 2 years ago
parent 21b750828d
commit 1fe69a8812

@ -285,12 +285,12 @@ module:
includeFiles: ["/bootstrap-icons.css"] includeFiles: ["/bootstrap-icons.css"]
# Katex # Katex
- source: "node_modules/katex/contrib/auto-render" - source: "node_modules/katex/contrib/auto-render"
target: "assets/paige/katex" target: "assets/_paige/katex"
includeFiles: ["/auto-render.js"] includeFiles: ["/auto-render.js"]
- source: "node_modules/katex/dist/fonts" - source: "node_modules/katex/dist/fonts"
target: "static/paige/katex/fonts" target: "static/_paige/katex/fonts"
- source: "node_modules/katex/dist" - source: "node_modules/katex/dist"
target: "assets/paige/katex" target: "assets/_paige/katex"
includeFiles: ["/katex.css", "/katex.js"] includeFiles: ["/katex.css", "/katex.js"]
``` ```
@ -959,7 +959,8 @@ The following NPM packages are used:
- [bootstrap-icons](https://www.npmjs.com/package/bootstrap-icons/v/1.10.3) - [bootstrap-icons](https://www.npmjs.com/package/bootstrap-icons/v/1.10.3)
- [katex](https://www.npmjs.com/package/katex/v/0.16.4) - [katex](https://www.npmjs.com/package/katex/v/0.16.4)
Hugo names, HTML names, CSS names, and JavaScript names that begin with "paige" capitalized in any way are reserved. Hugo names, HTML names, CSS names, and JavaScript names that begin with "paige" capitalized in any way,
optionally prefixed with one or more underscores, are reserved.
## Credits ## Credits

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

@ -13,8 +13,8 @@
<link color="{{ $page.Param `paige.color` | default `#0d6efd` }}" href="{{ relLangURL `safari-pinned-tab.svg` | safeURL }}" rel="mask-icon"> <link color="{{ $page.Param `paige.color` | default `#0d6efd` }}" href="{{ relLangURL `safari-pinned-tab.svg` | safeURL }}" rel="mask-icon">
<link href="{{ relLangURL `site.webmanifest` | safeURL }}" rel="manifest"> <link href="{{ relLangURL `site.webmanifest` | safeURL }}" rel="manifest">
{{ partial "paige/link.html" (dict "href" "paige/bootstrap/paige.scss" "page" $page "sass" true) }} {{ partial "paige/link.html" (dict "href" "_paige/bootstrap/paige.scss" "page" $page "sass" true) }}
{{ partial "paige/link.html" (dict "href" "paige/bootstrap-icons/bootstrap-icons.css") }} {{ partial "paige/link.html" (dict "href" "_paige/bootstrap-icons/bootstrap-icons.css") }}
{{ if or ($page.Param "paige.math") (and ($page.Param "paige.section_pages.full_pages") (where $page.Pages "Params.paige.math" "eq" true)) }} {{ if or ($page.Param "paige.math") (and ($page.Param "paige.section_pages.full_pages") (where $page.Pages "Params.paige.math" "eq" true)) }}
{{ partial "paige/link.html" (dict "href" "paige/katex/katex.css") }} {{ partial "paige/link.html" (dict "href" "paige/katex/katex.css") }}

@ -31,7 +31,7 @@ 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" "_paige/bootstrap/bootstrap.bundle.js") }}
{{ if or ($page.Param "paige.math") (and ($page.Param "paige.section_pages.full_pages") (where $page.Pages "Params.paige.math" "eq" true)) }} {{ if or ($page.Param "paige.math") (and ($page.Param "paige.section_pages.full_pages") (where $page.Pages "Params.paige.math" "eq" true)) }}
{{ partial "paige/script.html" (dict "src" "paige/katex/katex.js") }} {{ partial "paige/script.html" (dict "src" "paige/katex/katex.js") }}

Loading…
Cancel
Save