switch config file to yaml

This commit is contained in:
ch0ccyra1n 2025-03-25 14:36:43 -07:00
parent 965a85cde2
commit 15811ac45e
2 changed files with 32 additions and 37 deletions

View file

@ -1,37 +0,0 @@
baseURL = "https://ch0ccyra1n.planetexpress.me"
languageCode = "en-us"
license = "CC BY-NC-SA 4.0"
licenselink = "https://creativecommons.org/licenses/by-nc-sa/4.0/"
theme = "defiance-ng"
title = "ch0ccyra1n's awesome website!"
[author]
name = "ch0ccyra1n"
email = "ch0ccyra1n@riseup.net"
[[menu.main]]
name = "Home"
url = "/"
weight = 1
[[menu.main]]
name = "Posts"
url = "/posts/"
weight = 2
[[menu.main]]
name = "Contact"
url = "/contact/"
weight = 3
[[menu.main]]
name = "Support Me!"
url = "/support/"
weight = 4
[[menu.main]]
name = "Subscribe via RSS"
url = "/index.xml"
weight = 100
[params]
favicon = "/favicon.ico"
[taxonomies]
author = "authors"
tag = "tags"
cw = "cws"

32
config.yaml Normal file
View file

@ -0,0 +1,32 @@
baseURL: 'https://ch0ccyra1n.planetexpress.me'
languageCode: en-us
license: CC BY-NC-SA 4.0
licenselink: 'https://creativecommons.org/licenses/by-nc-sa/4.0/'
theme: defiance-ng
title: ch0ccyra1n's awesome website!
author:
name: ch0ccyra1n
email: ch0ccyra1n@riseup.net
menu:
main:
- name: Home
url: /
weight: 1
- name: Posts
url: /posts/
weight: 2
- name: Contact
url: /contact/
weight: 3
- name: Support Me!
url: /support/
weight: 4
- name: Subscribe via RSS
url: /index.xml
weight: 100
params:
favicon: /favicon.ico
taxonomies:
author: authors
tag: tags
cw: cws