From e69f561ea09f1366d329c5486be0ab796d3b80ff Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Tue, 11 Feb 2025 09:38:12 +0100 Subject: [PATCH] Hugo new site --- .gitignore | 2 ++ README.md | 1 + archetypes/default.md | 5 +++++ hugo.toml | 3 +++ 4 files changed, 11 insertions(+) create mode 100644 .gitignore create mode 100644 archetypes/default.md create mode 100644 hugo.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8dd6d56 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +public/ +.hugo_build.lock diff --git a/README.md b/README.md index e69de29..9dc94ba 100644 --- a/README.md +++ b/README.md @@ -0,0 +1 @@ +Trying to come up with something based on hugo diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..25b6752 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +date = '{{ .Date }}' +draft = true +title = '{{ replace .File.ContentBaseName "-" " " | title }}' ++++ diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..7e568b8 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,3 @@ +baseURL = 'https://example.org/' +languageCode = 'en-us' +title = 'My New Hugo Site'