Convert site config to YAML and move it to config/

Keep the old site config.toml around just in case.
This commit is contained in:
Eryn Wells 2022-11-02 17:46:18 -07:00
parent cf5d8755ac
commit 48056e5be8
14 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1 @@
name: Eryn Wells

View file

@ -0,0 +1,4 @@
baseURL: https://erynwells.me/
languageCode: en-US
title: Erynwells.me
defaultContentLanguage: en

View file

@ -0,0 +1,4 @@
en:
weight: 1
es:
weight: 2

View file

@ -0,0 +1,5 @@
highlight:
anchorLineNos: true
lineNos: true
lineNumbersInTable: false
noClasses: false

View file

@ -0,0 +1,6 @@
application/rss+xml:
delimiter: .
suffixes: [rss]
application/atom+xml:
delimiter: .
suffixes: [atom, xml]

13
config/_default/menu.yaml Normal file
View file

@ -0,0 +1,13 @@
main:
- identifier: blog
name: Blog
url: /blog/
weight: 10
- identifier: photos
name: Photos
url: /photos/
weight: 20
- identifier: about
name: About
url: /about/
weight: 30

View file

@ -0,0 +1,4 @@
RSS:
mediatype: application/rss+xml
baseName: feed
suffixes: [rss]

View file

@ -0,0 +1,2 @@
home: [HTML, RSS]
page: [HTML, JSON]

View file

@ -0,0 +1,4 @@
twitter: erynofwales
github: erynofwales
instagram: erynofwales
description: Home page of Eryn Rachel Wells

View file

@ -0,0 +1,2 @@
blog: blog/:year/:month/:slug/
photos: blog/:year/:month/:slug/

View file

@ -0,0 +1,2 @@
twitter:
enableDNT: true

View file

@ -0,0 +1,2 @@
twitter:
disableInlineCSS: true

View file

@ -0,0 +1,4 @@
category: categories
location: locations
series: series
tag: tags