From 0d44f0764e83046748ceedcc16404e5ba121ef03 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Mon, 13 Jan 2025 01:03:12 +0100 Subject: [PATCH] build(hugo): environmental config files --- config.yaml | 5 ----- config/_default/config.yaml | 21 +++++++++++++++++++++ config/development/config.yaml | 5 +++++ config/production/config.yaml | 1 + 4 files changed, 27 insertions(+), 5 deletions(-) delete mode 100644 config.yaml create mode 100644 config/_default/config.yaml create mode 100644 config/development/config.yaml create mode 100644 config/production/config.yaml diff --git a/config.yaml b/config.yaml deleted file mode 100644 index c0bc7f9..0000000 --- a/config.yaml +++ /dev/null @@ -1,5 +0,0 @@ -[module] - [module.hugoVersion] - extended = true - min = "0.140.0" - max = "0.140.2" diff --git a/config/_default/config.yaml b/config/_default/config.yaml new file mode 100644 index 0000000..7f63c78 --- /dev/null +++ b/config/_default/config.yaml @@ -0,0 +1,21 @@ +module: + hugoVersion: + extended: true + min: "0.140.0" + max: "0.140.2" + +baseURL: "https://example.com/" +languageCode: en-gb +title: Cataloguer + +copyright: CC0 +enableRobotsTXT: true + +params: + author: + name: John Smith + email: admin@example.com + description: + reportIssueURL: "/Rumperuu/Cataloguer/issues" + codeURL: "https://code.bengoldsworthy.net" + feedIcon: /images/feed-icon.svg diff --git a/config/development/config.yaml b/config/development/config.yaml new file mode 100644 index 0000000..cfa94b0 --- /dev/null +++ b/config/development/config.yaml @@ -0,0 +1,5 @@ +baseURL: "localhost:1313" +title: "Cataloguer [DEV]" + +buildDrafts: true +buildFuture: true diff --git a/config/production/config.yaml b/config/production/config.yaml new file mode 100644 index 0000000..d5bed1f --- /dev/null +++ b/config/production/config.yaml @@ -0,0 +1 @@ +publishDir: public