From 3081c9b135700c9bf57b77a6feaa488b934e841d Mon Sep 17 00:00:00 2001 From: fliegerjohn Date: Fri, 12 Jan 2024 09:16:48 +0100 Subject: [PATCH] Inital commit. --- .gitmodules | 3 +++ .hugo_build.lock | 0 archetypes/default.md | 5 +++++ hugo.toml | 46 +++++++++++++++++++++++++++++++++++++++++++ themes/smol | 1 + 5 files changed, 55 insertions(+) create mode 100644 .gitmodules create mode 100644 .hugo_build.lock create mode 100644 archetypes/default.md create mode 100644 hugo.toml create mode 160000 themes/smol diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..0072fb9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/smol"] + path = themes/smol + url = https://git.datenkastl.org/fliegerjohn/smol.git diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 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/hugo.toml b/hugo.toml new file mode 100644 index 0000000..ea5fd8d --- /dev/null +++ b/hugo.toml @@ -0,0 +1,46 @@ +baseURL = 'https://datenkastl.de' +languageCode = 'de' +title = 'Datenkastl' +theme = "smol" + +# Parameters +[params] + subtitle = "Datenkastl's Blog and Newspage" + dateFmt = "02.01.2006 15:04" + +# Header +[menu] + [[menu.main]] + identifier = "posts" + name = "Posts" + url = "/posts/" + weight = 1 + + [[menu.main]] + identifier = "categories" + name = "Categories" + url = "/categories/" + weight = 2 + + [[menu.main]] + identifier = "tags" + name = "Tags" + url = "/tags/" + weight = 3 + +# Footer + [[menu.footer]] + name = "Forgejo" + url = "https://git.datenkastl.org/fliegerjohn" + weight = 1 + + [[menu.footer]] + name = "Fediverse" + url = "https://fedi.datenkastl.de/@fliegerjohn" + weight = 2 + + [[menu.footer]] + name = "About" + url = "/about" + weight = 3 + diff --git a/themes/smol b/themes/smol new file mode 160000 index 0000000..9c5b894 --- /dev/null +++ b/themes/smol @@ -0,0 +1 @@ +Subproject commit 9c5b894c09507df23a167eaddd9a1a351d89cbf4