From 782524a9fd84957a4dda1a4c68ec76d505d1577d Mon Sep 17 00:00:00 2001 From: Splitter Date: Thu, 9 Nov 2023 16:00:17 +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 a9e87d8a6..93691f4b0 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-decap-cms - - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify - - 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 000000000..e9c4255e5 --- /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-decap-cms + - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify + - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5