From f5bd80cec0c4ef2ff9316856656e1c1e7dfdec6c Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Wed, 18 Dec 2024 20:03:35 +0100 Subject: [PATCH] Add hugo base --- .gitignore | 20 ------------------- hugo/archetypes/default.md | 5 +++++ hugo/hugo.toml | 3 +++ .env.example => tofu/.env.example | 0 tofu/.gitignore | 19 ++++++++++++++++++ .../.terraform.lock.hcl | 0 main.tf => tofu/main.tf | 0 values.tf => tofu/values.tf | 0 8 files changed, 27 insertions(+), 20 deletions(-) create mode 100644 hugo/archetypes/default.md create mode 100644 hugo/hugo.toml rename .env.example => tofu/.env.example (100%) create mode 100644 tofu/.gitignore rename .terraform.lock.hcl => tofu/.terraform.lock.hcl (100%) rename main.tf => tofu/main.tf (100%) rename values.tf => tofu/values.tf (100%) diff --git a/.gitignore b/.gitignore index 8912807..fd28df8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,22 +1,2 @@ .env .direnv/ - -.terraform/* - -*.tfstate -*.tfstate.* - -crash.log -crash.*.log - -*.tfvars -*.tfvars.json - -override.tf -override.tf.json -*_override.tf -*_override.tf.json - -.terraform.tfstate.lock.info -.terraformrc -terraform.rc diff --git a/hugo/archetypes/default.md b/hugo/archetypes/default.md new file mode 100644 index 0000000..25b6752 --- /dev/null +++ b/hugo/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +date = '{{ .Date }}' +draft = true +title = '{{ replace .File.ContentBaseName "-" " " | title }}' ++++ diff --git a/hugo/hugo.toml b/hugo/hugo.toml new file mode 100644 index 0000000..7e568b8 --- /dev/null +++ b/hugo/hugo.toml @@ -0,0 +1,3 @@ +baseURL = 'https://example.org/' +languageCode = 'en-us' +title = 'My New Hugo Site' diff --git a/.env.example b/tofu/.env.example similarity index 100% rename from .env.example rename to tofu/.env.example diff --git a/tofu/.gitignore b/tofu/.gitignore new file mode 100644 index 0000000..6585be6 --- /dev/null +++ b/tofu/.gitignore @@ -0,0 +1,19 @@ +.terraform/* + +*.tfstate +*.tfstate.* + +crash.log +crash.*.log + +*.tfvars +*.tfvars.json + +override.tf +override.tf.json +*_override.tf +*_override.tf.json + +.terraform.tfstate.lock.info +.terraformrc +terraform.rc diff --git a/.terraform.lock.hcl b/tofu/.terraform.lock.hcl similarity index 100% rename from .terraform.lock.hcl rename to tofu/.terraform.lock.hcl diff --git a/main.tf b/tofu/main.tf similarity index 100% rename from main.tf rename to tofu/main.tf diff --git a/values.tf b/tofu/values.tf similarity index 100% rename from values.tf rename to tofu/values.tf