Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,13 @@ filename = "sitemap_hugo.xml"
priority = 0.5

[security]
enableInlineShortcodes = true
[security.exec]
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^babel$']
# ^sass$ is unused on Hugo 0.113 (libsass compiles the SCSS) but pre-arms
# the Dart Sass transpiler switch that comes with the Hugo upgrade.
allow = ['^go$', '^sass$']

[module]

[[module.mounts]]
source = "node_modules/bootstrap-icons/font/fonts"
target = "static/css/fonts"

[[module.mounts]]
source = "node_modules/@fortawesome/fontawesome-free/webfonts"
target = "static/css/webfonts"
Expand All @@ -39,15 +36,10 @@ priority = 0.5
source = "static"
target = "static"

[[module.mounts]]
source = "assets"
target = "assets"

[[module.mounts]]
source = "node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
target = "assets/js/bootstrap/bootstrap.bundle.min.js"

# TODO: Switch to use SCSS when we update to Hugo a version with embeded dart-sass
[[module.mounts]]
source = "node_modules/@fortawesome/fontawesome-free/css/all.min.css"
target = "assets/css/fontawesome/all.min.css"
Expand Down
Loading
Loading