From c1bc3d77c72cb647d4cd81acf7bb4830c8812291 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Wed, 8 Jan 2025 11:59:04 +0100 Subject: [PATCH] Create hugo boilerplate code --- archetypes/default.md | 5 +++++ assets/.gitkeep | 0 content/.gitkeep | 0 data/.gitkeep | 0 hugo.yaml | 3 +++ i18n/.gitkeep | 0 layouts/.gitkeep | 0 static/.gitkeep | 0 themes/.gitkeep | 0 9 files changed, 8 insertions(+) create mode 100644 archetypes/default.md create mode 100644 assets/.gitkeep create mode 100644 content/.gitkeep create mode 100644 data/.gitkeep create mode 100644 hugo.yaml create mode 100644 i18n/.gitkeep create mode 100644 layouts/.gitkeep create mode 100644 static/.gitkeep create mode 100644 themes/.gitkeep diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..0d5eebd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ +--- +date: '{{ .Date }}' +draft: true +title: '{{ replace .File.ContentBaseName "-" " " | title }}' +--- diff --git a/assets/.gitkeep b/assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/content/.gitkeep b/content/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/.gitkeep b/data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..fa5818b --- /dev/null +++ b/hugo.yaml @@ -0,0 +1,3 @@ +baseURL: https://example.org/ +languageCode: en-us +title: My New Hugo Site diff --git a/i18n/.gitkeep b/i18n/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/layouts/.gitkeep b/layouts/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/static/.gitkeep b/static/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/themes/.gitkeep b/themes/.gitkeep new file mode 100644 index 0000000..e69de29