From b0b64876aea0d06684cd715a66c3292067be7445 Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Sun, 30 Jun 2024 10:40:37 +0100 Subject: [PATCH] Initialise Hugo --- .gitmodules | 3 +++ archetypes/default.md | 5 +++++ content/posts/my-first-post.md | 10 ++++++++++ hugo.toml | 4 ++++ themes/ananke | 1 + 5 files changed, 23 insertions(+) create mode 100644 .gitmodules create mode 100644 archetypes/default.md create mode 100644 content/posts/my-first-post.md create mode 100644 hugo.toml create mode 160000 themes/ananke diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5154615 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/ananke"] + path = themes/ananke + url = https://github.com/theNewDynamic/gohugo-theme-ananke.git diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/content/posts/my-first-post.md b/content/posts/my-first-post.md new file mode 100644 index 0000000..e86afbf --- /dev/null +++ b/content/posts/my-first-post.md @@ -0,0 +1,10 @@ ++++ +title = 'My First Post' +date = 2024-06-30T10:37:00+01:00 +draft = false ++++ +## Introduction + +This is **bold** text, and this is *emphasized* text. + +Visit the [Hugo](https://gohugo.io) website! \ No newline at end of file diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..6eb3dd2 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,4 @@ +baseURL = 'https://example.org/' +languageCode = 'en-us' +title = 'My New Hugo Site' +theme = 'ananke' diff --git a/themes/ananke b/themes/ananke new file mode 160000 index 0000000..33fbda0 --- /dev/null +++ b/themes/ananke @@ -0,0 +1 @@ +Subproject commit 33fbda0e9d3e97c92af5d195be94e8eea8003239