Switch to yml config file

This commit is contained in:
nemunaire 2022-02-09 19:00:20 +01:00
parent 20c01b8868
commit 59f4dda633
2 changed files with 49 additions and 61 deletions

View File

@ -1,61 +0,0 @@
baseURL = "https://www.nemunai.re/"
DefaultContentLanguage = "en"
languageCode = "en-us"
title = "nemunaire's blog"
theme = "beautifulhugo"
metaDataFormat = "yaml"
pygmentsUseClasses = true
pygmentsCodeFences = true
[Params]
logo = "img/mug.png"
selfHosted = true
rss = true
readingTime = true
[[Params.thumb]]
src = "https://cdn.nemunai.re/img/octotron.jpg"
desc = "Nemubot: a smart and modulable IM bot!"
link = "https://github.com/nemunaire/nemubot/"
[[Params.thumb]]
src = "https://cdn.nemunai.re/img/qarnot.png"
desc = "My current company: Qarnot."
link = "https://www.qarnot.com/"
[[Params.thumb]]
src = "https://you.p0m.fr/images/egrets"
desc = "YouP0m: daily cute pictures."
link = "https://you.p0m.fr/"
[[Params.thumb]]
src = "https://cdn.nemunai.re/img/epita.png"
desc = "My school: Épita."
link = "http://epita.fr/"
[Author]
name = "nemunaire"
email = "blog@nemunai.re"
github = "nemunaire"
gitlab = "nemunaire"
bitbucket = "nemunaire"
[[menu.main]]
name = "Blog"
url = ""
weight = 1
[[menu.main]]
name = "Tags"
url = "tags"
weight = 2
[[menu.main]]
name = "About"
url = "about/"
weight = 3
[[menu.main]]
name = "Talks"
url = "talks/"
weight = 4

49
config.yml Normal file
View File

@ -0,0 +1,49 @@
baseURL: https://www.nemunai.re/
DefaultContentLanguage: en
languageCode: en-us
title: "nemunaire's blog"
theme: beautifulhugo
pygmentsUseClasses: true
pygmentsCodeFences: true
params:
logo: img/mug.png
selfHosted: true
rss: true
readingTime: true
thumb:
- src: "https://cdn.nemunai.re/img/octotron.jpg"
desc: "Nemubot: a smart and modulable IM bot!"
link: "https://github.com/nemunaire/nemubot/"
- src: "https://cdn.nemunai.re/img/qarnot.png"
desc: "My current company: Qarnot."
link: "https://www.qarnot.com/"
- src: "https://you.p0m.fr/images/egrets"
desc: "YouP0m: daily cute pictures."
link: "https://you.p0m.fr/"
- src: "https://cdn.nemunai.re/img/epita.png"
desc: "My school: Épita."
link: "http://epita.fr/"
author:
name: "nemunaire"
email: "blog@nemunai.re"
github: "nemunaire"
gitlab: "nemunaire"
bitbucket: "nemunaire"
menu:
main:
- name: "Blog"
url: ""
weight: 1
- name: "Tags"
url: "tags"
weight: 2
- name: "About"
url: "about/"
weight: 3
- name: "Talks"
url: "talks/"
weight: 4