mirror of
https://github.com/vale981/website
synced 2025-03-05 09:31:42 -05:00
config and archetype
This commit is contained in:
parent
4854b11c1d
commit
41273fbba2
2 changed files with 61 additions and 0 deletions
6
site/archetypes/default.md
Normal file
6
site/archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
55
site/config.toml
Normal file
55
site/config.toml
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue