From d1e0ae4a883b8e589ead257688bca0d530532f9e Mon Sep 17 00:00:00 2001 From: Splitter Date: Thu, 9 Nov 2023 16:00:18 +0000 Subject: [PATCH] starters: update to latest Hugo best practices (hugo.yaml) --- config/_default/{config.yaml => hugo.yaml} | 9 --------- config/_default/module.yaml | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) rename config/_default/{config.yaml => hugo.yaml} (84%) create mode 100644 config/_default/module.yaml diff --git a/config/_default/config.yaml b/config/_default/hugo.yaml similarity index 84% rename from config/_default/config.yaml rename to config/_default/hugo.yaml index 41c653d..733e1e4 100644 --- a/config/_default/config.yaml +++ b/config/_default/hugo.yaml @@ -15,15 +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-tailwind - ############################ ## ADVANCED ############################ diff --git a/config/_default/module.yaml b/config/_default/module.yaml new file mode 100644 index 0000000..2d7e6af --- /dev/null +++ b/config/_default/module.yaml @@ -0,0 +1,9 @@ +############################ +## 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-tailwind