From 80abfc91890959bfc1c650345b4a8f1c012b5492 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Tue, 21 Feb 2023 17:42:48 -0800 Subject: [PATCH] Convert config.toml to config.yaml --- config.toml | 80 ----------------------------------------------------- config.yaml | 46 ++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 80 deletions(-) delete mode 100644 config.toml create mode 100644 config.yaml diff --git a/config.toml b/config.toml deleted file mode 100644 index 68f62a0c..00000000 --- a/config.toml +++ /dev/null @@ -1,80 +0,0 @@ -[module.hugoVersion] -min = "0.101.0" -extended = true - -# Default mounts - -[[module.mounts]] -source = "archetypes" -target = "archetypes" - -[[module.mounts]] -source = "assets" -target = "assets" - -[[module.mounts]] -source = "content" -target = "content" - -[[module.mounts]] -source = "data" -target = "data" - -[[module.mounts]] -source = "i18n" -target = "i18n" - -[[module.mounts]] -source = "layouts" -target = "layouts" - -[[module.mounts]] -source = "static" -target = "static" - -# Bootstrap - -[[module.mounts]] -source = "node_modules/bootstrap/dist/css" -target = "assets/paige/bootstrap" -includeFiles = ["/bootstrap.css"] - -[[module.mounts]] -source = "node_modules/bootstrap/dist/js" -target = "assets/paige/bootstrap" -includeFiles = ["/bootstrap.bundle.js"] - -[[module.mounts]] -source = "node_modules/bootstrap/js/dist" -target = "static/paige/bootstrap" - -[[module.mounts]] -source = "node_modules/bootstrap/scss" -target = "static/paige/bootstrap" - -# Bootstrap Icons - -[[module.mounts]] -source = "node_modules/bootstrap-icons/font/fonts" -target = "static/paige/bootstrap-icons/fonts" - -[[module.mounts]] -source = "node_modules/bootstrap-icons/font" -target = "assets/paige/bootstrap-icons" -includeFiles = ["/bootstrap-icons.css"] - -# Katex - -[[module.mounts]] -source = "node_modules/katex/contrib/auto-render" -target = "assets/paige/katex" -includeFiles = ["/auto-render.js"] - -[[module.mounts]] -source = "node_modules/katex/dist/fonts" -target = "static/paige/katex/fonts" - -[[module.mounts]] -source = "node_modules/katex/dist" -target = "assets/paige/katex" -includeFiles = ["/katex.css", "/katex.js"] diff --git a/config.yaml b/config.yaml new file mode 100644 index 00000000..2500646a --- /dev/null +++ b/config.yaml @@ -0,0 +1,46 @@ +module: + hugoVersion: + min: "0.101.0" + extended: true + mounts: + # Default mounts + - source: "archetypes" + target: "archetypes" + - source: "assets" + target: "assets" + - source: "content" + target: "content" + - source: "data" + target: "data" + - source: "i18n" + target: "i18n" + - source: "layouts" + target: "layouts" + - source: "static" + target: "static" + # Bootstrap + - source: "node_modules/bootstrap/dist/css" + target: "assets/paige/bootstrap" + includeFiles: ["/bootstrap.css"] + - source: "node_modules/bootstrap/dist/js" + target: "assets/paige/bootstrap" + includeFiles: ["/bootstrap.bundle.js"] + - source: "node_modules/bootstrap/js/dist" + target: "static/paige/bootstrap" + - source: "node_modules/bootstrap/scss" + target: "static/paige/bootstrap" + # Bootstrap Icons + - source: "node_modules/bootstrap-icons/font/fonts" + target: "static/paige/bootstrap-icons/fonts" + - source: "node_modules/bootstrap-icons/font" + target: "assets/paige/bootstrap-icons" + includeFiles: ["/bootstrap-icons.css"] + # Katex + - source: "node_modules/katex/contrib/auto-render" + target: "assets/paige/katex" + includeFiles: ["/auto-render.js"] + - source: "node_modules/katex/dist/fonts" + target: "static/paige/katex/fonts" + - source: "node_modules/katex/dist" + target: "assets/paige/katex" + includeFiles: ["/katex.css", "/katex.js"]