From 133e2936481201b1cf1df0ebe03dd9a340b28225 Mon Sep 17 00:00:00 2001 From: Splitter Date: Thu, 9 Nov 2023 16:00:15 +0000 Subject: [PATCH] starters: update to latest Hugo best practices (hugo.yaml) --- config/_default/{config.yaml => hugo.yaml} | 10 ---------- config/_default/module.yaml | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) rename config/_default/{config.yaml => hugo.yaml} (82%) create mode 100644 config/_default/module.yaml diff --git a/config/_default/config.yaml b/config/_default/hugo.yaml similarity index 82% rename from config/_default/config.yaml rename to config/_default/hugo.yaml index 909f031630a..69cc2d0fa3f 100644 --- a/config/_default/config.yaml +++ b/config/_default/hugo.yaml @@ -15,16 +15,6 @@ hasCJKLanguage: false defaultContentLanguageInSubdir: false removePathAccents: true -############################ -## MODULES -############################ - -module: - imports: - - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify - - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal - - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 - ############################ ## ADVANCED ############################ diff --git a/config/_default/module.yaml b/config/_default/module.yaml new file mode 100644 index 00000000000..d6d5a8fe1b0 --- /dev/null +++ b/config/_default/module.yaml @@ -0,0 +1,10 @@ +############################ +## HUGO MODULES +## Install or uninstall themes and plugins here. +## Docs: https://gohugo.io/hugo-modules/ +############################ + +imports: + - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify + - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal + - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5