From 590f4123eb770e212971496825fdb529c8022643 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Thu, 9 Nov 2023 15:59:43 +0000 Subject: [PATCH] starters: update to latest Hugo best practices (hugo.yaml) --- .../config/_default/{config.yaml => hugo.yaml} | 10 ---------- starters/academic-cv/config/_default/module.yaml | 10 ++++++++++ .../blog/config/_default/{config.yaml => hugo.yaml} | 9 --------- starters/blog/config/_default/module.yaml | 9 +++++++++ .../course/config/_default/{config.yaml => hugo.yaml} | 9 --------- starters/course/config/_default/module.yaml | 9 +++++++++ .../config/_default/{config.yaml => hugo.yaml} | 9 --------- starters/documentation/config/_default/module.yaml | 9 +++++++++ .../config/_default/{config.yaml => hugo.yaml} | 9 --------- starters/link-in-bio/config/_default/module.yaml | 9 +++++++++ .../config/_default/{config.yaml => hugo.yaml} | 11 ----------- starters/markdown-slides/config/_default/module.yaml | 11 +++++++++++ .../config/_default/{config.yaml => hugo.yaml} | 10 ---------- starters/portfolio/config/_default/module.yaml | 10 ++++++++++ .../config/_default/{config.yaml => hugo.yaml} | 10 ---------- starters/research-group/config/_default/module.yaml | 10 ++++++++++ 16 files changed, 77 insertions(+), 77 deletions(-) rename starters/academic-cv/config/_default/{config.yaml => hugo.yaml} (82%) create mode 100644 starters/academic-cv/config/_default/module.yaml rename starters/blog/config/_default/{config.yaml => hugo.yaml} (88%) create mode 100644 starters/blog/config/_default/module.yaml rename starters/course/config/_default/{config.yaml => hugo.yaml} (87%) create mode 100644 starters/course/config/_default/module.yaml rename starters/documentation/config/_default/{config.yaml => hugo.yaml} (86%) create mode 100644 starters/documentation/config/_default/module.yaml rename starters/link-in-bio/config/_default/{config.yaml => hugo.yaml} (84%) create mode 100644 starters/link-in-bio/config/_default/module.yaml rename starters/markdown-slides/config/_default/{config.yaml => hugo.yaml} (76%) create mode 100644 starters/markdown-slides/config/_default/module.yaml rename starters/portfolio/config/_default/{config.yaml => hugo.yaml} (83%) create mode 100644 starters/portfolio/config/_default/module.yaml rename starters/research-group/config/_default/{config.yaml => hugo.yaml} (82%) create mode 100644 starters/research-group/config/_default/module.yaml diff --git a/starters/academic-cv/config/_default/config.yaml b/starters/academic-cv/config/_default/hugo.yaml similarity index 82% rename from starters/academic-cv/config/_default/config.yaml rename to starters/academic-cv/config/_default/hugo.yaml index 909f0316..69cc2d0f 100644 --- a/starters/academic-cv/config/_default/config.yaml +++ b/starters/academic-cv/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/starters/academic-cv/config/_default/module.yaml b/starters/academic-cv/config/_default/module.yaml new file mode 100644 index 00000000..d6d5a8fe --- /dev/null +++ b/starters/academic-cv/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 diff --git a/starters/blog/config/_default/config.yaml b/starters/blog/config/_default/hugo.yaml similarity index 88% rename from starters/blog/config/_default/config.yaml rename to starters/blog/config/_default/hugo.yaml index 598de90b..b32d982f 100644 --- a/starters/blog/config/_default/config.yaml +++ b/starters/blog/config/_default/hugo.yaml @@ -34,15 +34,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/starters/blog/config/_default/module.yaml b/starters/blog/config/_default/module.yaml new file mode 100644 index 00000000..2d7e6af3 --- /dev/null +++ b/starters/blog/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 diff --git a/starters/course/config/_default/config.yaml b/starters/course/config/_default/hugo.yaml similarity index 87% rename from starters/course/config/_default/config.yaml rename to starters/course/config/_default/hugo.yaml index 6f6a5fc9..9bf895f6 100644 --- a/starters/course/config/_default/config.yaml +++ b/starters/course/config/_default/hugo.yaml @@ -30,15 +30,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-bootstrap/v5 - ############################ ## ADVANCED ############################ diff --git a/starters/course/config/_default/module.yaml b/starters/course/config/_default/module.yaml new file mode 100644 index 00000000..a2a3e2eb --- /dev/null +++ b/starters/course/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-bootstrap/v5 diff --git a/starters/documentation/config/_default/config.yaml b/starters/documentation/config/_default/hugo.yaml similarity index 86% rename from starters/documentation/config/_default/config.yaml rename to starters/documentation/config/_default/hugo.yaml index 60f1217d..708ff8bd 100644 --- a/starters/documentation/config/_default/config.yaml +++ b/starters/documentation/config/_default/hugo.yaml @@ -26,15 +26,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-bootstrap/v5 - ############################ ## ADVANCED ############################ diff --git a/starters/documentation/config/_default/module.yaml b/starters/documentation/config/_default/module.yaml new file mode 100644 index 00000000..a2a3e2eb --- /dev/null +++ b/starters/documentation/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-bootstrap/v5 diff --git a/starters/link-in-bio/config/_default/config.yaml b/starters/link-in-bio/config/_default/hugo.yaml similarity index 84% rename from starters/link-in-bio/config/_default/config.yaml rename to starters/link-in-bio/config/_default/hugo.yaml index 41c653d6..733e1e47 100644 --- a/starters/link-in-bio/config/_default/config.yaml +++ b/starters/link-in-bio/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/starters/link-in-bio/config/_default/module.yaml b/starters/link-in-bio/config/_default/module.yaml new file mode 100644 index 00000000..2d7e6af3 --- /dev/null +++ b/starters/link-in-bio/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 diff --git a/starters/markdown-slides/config/_default/config.yaml b/starters/markdown-slides/config/_default/hugo.yaml similarity index 76% rename from starters/markdown-slides/config/_default/config.yaml rename to starters/markdown-slides/config/_default/hugo.yaml index b431f58d..e47a618c 100644 --- a/starters/markdown-slides/config/_default/config.yaml +++ b/starters/markdown-slides/config/_default/hugo.yaml @@ -15,17 +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-plugin-reveal - - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 - ############################ ## ADVANCED ############################ diff --git a/starters/markdown-slides/config/_default/module.yaml b/starters/markdown-slides/config/_default/module.yaml new file mode 100644 index 00000000..68f455a3 --- /dev/null +++ b/starters/markdown-slides/config/_default/module.yaml @@ -0,0 +1,11 @@ +############################ +## 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-plugin-reveal + - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 diff --git a/starters/portfolio/config/_default/config.yaml b/starters/portfolio/config/_default/hugo.yaml similarity index 83% rename from starters/portfolio/config/_default/config.yaml rename to starters/portfolio/config/_default/hugo.yaml index 33bca5b0..b75d4e08 100644 --- a/starters/portfolio/config/_default/config.yaml +++ b/starters/portfolio/config/_default/hugo.yaml @@ -29,16 +29,6 @@ hasCJKLanguage: false defaultContentLanguageInSubdir: false removePathAccents: true -############################ -## MODULES -############################ - -module: - imports: - - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify-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/starters/portfolio/config/_default/module.yaml b/starters/portfolio/config/_default/module.yaml new file mode 100644 index 00000000..791bfafc --- /dev/null +++ b/starters/portfolio/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-cms + - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify + - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 diff --git a/starters/research-group/config/_default/config.yaml b/starters/research-group/config/_default/hugo.yaml similarity index 82% rename from starters/research-group/config/_default/config.yaml rename to starters/research-group/config/_default/hugo.yaml index a9e87d8a..93691f4b 100644 --- a/starters/research-group/config/_default/config.yaml +++ b/starters/research-group/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/starters/research-group/config/_default/module.yaml b/starters/research-group/config/_default/module.yaml new file mode 100644 index 00000000..e9c4255e --- /dev/null +++ b/starters/research-group/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