From 313370e91c9ee4c24cdd183091afef050570cae1 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 23 Apr 2023 23:15:20 -0700 Subject: [PATCH] Convert config.yaml to config.toml --- config.toml | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++ config.yaml | 49 ------------------------------ 2 files changed, 85 insertions(+), 49 deletions(-) create mode 100644 config.toml delete mode 100644 config.yaml diff --git a/config.toml b/config.toml new file mode 100644 index 00000000..af47eb54 --- /dev/null +++ b/config.toml @@ -0,0 +1,85 @@ +[module.hugoVersion] +min = "0.111.3" +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 = "paige/node_modules/bootstrap/dist/css" +target = "assets/css/paige/bootstrap" +includeFiles = ["bootstrap.css"] + +[[module.mounts]] +source = "paige/node_modules/bootstrap/dist/js" +target = "assets/js/paige/bootstrap" +includeFiles = ["bootstrap.bundle.js"] + +[[module.mounts]] +source = "paige/node_modules/bootstrap/js/dist" +target = "assets/js/paige/bootstrap" + +[[module.mounts]] +source = "paige/node_modules/bootstrap/scss" +target = "assets/css/paige/bootstrap" + +# Bootstrap Icons + +[[module.mounts]] +source = "paige/node_modules/bootstrap-icons/font/fonts" +target = "static/css/paige/bootstrap-icons/fonts" + +[[module.mounts]] +source = "paige/node_modules/bootstrap-icons/font" +target = "assets/css/paige/bootstrap-icons" +includeFiles = ["bootstrap-icons.css"] + +# Katex + +[[module.mounts]] +source = "paige/node_modules/katex/dist/contrib" +target = "assets/js/paige/katex" +includeFiles = ["auto-render.min.js"] + +[[module.mounts]] +source = "paige/node_modules/katex/dist/fonts" +target = "static/css/paige/katex/fonts" + +[[module.mounts]] +source = "paige/node_modules/katex/dist" +target = "assets/css/paige/katex" +includeFiles = ["katex.min.css"] + +[[module.mounts]] +source = "paige/node_modules/katex/dist" +target = "assets/js/paige/katex" +includeFiles = ["katex.min.js"] diff --git a/config.yaml b/config.yaml deleted file mode 100644 index a00aefe7..00000000 --- a/config.yaml +++ /dev/null @@ -1,49 +0,0 @@ -module: - hugoVersion: - min: "0.111.3" - 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: "paige/node_modules/bootstrap/dist/css" - target: "assets/css/paige/bootstrap" - includeFiles: ["bootstrap.css"] - - source: "paige/node_modules/bootstrap/dist/js" - target: "assets/js/paige/bootstrap" - includeFiles: ["bootstrap.bundle.js"] - - source: "paige/node_modules/bootstrap/js/dist" - target: "assets/js/paige/bootstrap" - - source: "paige/node_modules/bootstrap/scss" - target: "assets/css/paige/bootstrap" - # Bootstrap Icons - - source: "paige/node_modules/bootstrap-icons/font/fonts" - target: "static/css/paige/bootstrap-icons/fonts" - - source: "paige/node_modules/bootstrap-icons/font" - target: "assets/css/paige/bootstrap-icons" - includeFiles: ["bootstrap-icons.css"] - # Katex - - source: "paige/node_modules/katex/dist/contrib" - target: "assets/js/paige/katex" - includeFiles: ["auto-render.min.js"] - - source: "paige/node_modules/katex/dist/fonts" - target: "static/css/paige/katex/fonts" - - source: "paige/node_modules/katex/dist" - target: "assets/css/paige/katex" - includeFiles: ["katex.min.css"] - - source: "paige/node_modules/katex/dist" - target: "assets/js/paige/katex" - includeFiles: ["katex.min.js"]