From 41273fbba2220c4cb3550761d0b6020cf870cac7 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Sat, 31 Jul 2021 15:35:13 +0200 Subject: [PATCH] config and archetype --- site/archetypes/default.md | 6 +++++ site/config.toml | 55 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 site/archetypes/default.md create mode 100644 site/config.toml diff --git a/site/archetypes/default.md b/site/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/site/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/site/config.toml b/site/config.toml new file mode 100644 index 0000000..feb5325 --- /dev/null +++ b/site/config.toml @@ -0,0 +1,55 @@ +baseURL = "http://example.org/" +languageCode = "en-us" +title = "Hiro's Stuff" +theme = "smol" +baseurl="https://protagon.space" + +[params] + subtitle = "Valentin Boettcher's Blog." + dateFmt = "02.01.2006 15:04" + +[menu] + [[menu.main]] + identifier = "Posts" + name = "Posts" + url = "/posts/" + weight = 1 + + [[menu.main]] + identifier = "about" + name = "About" + url = "/about" + weight = 3 + + [[menu.main]] + identifier = "contact" + name = "Contact" + url = "/contact" + weight = 3 + + [[menu.main]] + identifier = "categories" + name = "Categories" + url = "/categories/" + weight = 2 + + [[menu.main]] + identifier = "tags" + name = "Tags" + url = "/tags/" + weight = 3 + + [[menu.footer]] + name = "Github" + url = "https://github.com/vale981" + weight = 1 + + [[menu.footer]] + name = "Impressum/DSGVO" + url = "/DSGVO" + weight = 3 + + [[menu.footer]] + name = "RSS" + url = "./index.xml" + weight = 4