From 59f4dda633d02fee2f271fb52c8bf2e0edfd5c49 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Wed, 9 Feb 2022 19:00:20 +0100 Subject: [PATCH] Switch to yml config file --- config.toml | 61 ----------------------------------------------------- config.yml | 49 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 61 deletions(-) delete mode 100644 config.toml create mode 100644 config.yml diff --git a/config.toml b/config.toml deleted file mode 100644 index 3712827..0000000 --- a/config.toml +++ /dev/null @@ -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 diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..1923217 --- /dev/null +++ b/config.yml @@ -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