From cab11f65f571df3bb1a63c7510af64f0a083da5c Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Mon, 9 Jul 2018 00:02:23 +0200 Subject: [PATCH] move config from toml to yaml --- config.toml | 63 --------------------------------------------- config.yaml | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 63 deletions(-) delete mode 100644 config.toml create mode 100644 config.yaml diff --git a/config.toml b/config.toml deleted file mode 100644 index 878ff46..0000000 --- a/config.toml +++ /dev/null @@ -1,63 +0,0 @@ -baseURL = "http://berlin.ccc.de/" -languageCode = "de-de" -title = "Chaos Computer Club Berlin e.V." -theme = "beautifulhugo" - -[Params] - license = "CC-BY" - subtitle = "Willkommen! Wir sind ein Erfa-Kreis des Chaos Computer Club e.V. und die örtliche Niederlassung des CCC in Berlin." - logo = "img/logo.png" - favicon = "img/favicon.ico" - dateFormat = "January 2, 2006" - commit = false - rss = true - comments = true - readingTime = true - useHLJS = true - DateForm = "30.12.2006" - -[taxonomies] - category = "categories" - series = "series" - tag = "tags" - -[permalinks] - post = "/post/:year/:month/:day/:title/" - -[Author] - twitter = "clubdiscordia" - email = "mail@berlin.ccc.de" - -[[menu.main]] - name = "Impressum" - url = "page/impressum/" - weight = 500 - -[[menu.main]] - name = "News" - url = "post/" - weight = 600 - -[mediaTypes] -[mediaTypes."text/calendar"] -suffix = "ics" - -[mediaTypes."application/rss"] -suffix = "rss" - -[mediaTypes."application/xml"] -suffix = "xml" - - -[outputFormats] - [outputFormats.RSS] - mediaType = "application/rss" - - [outputFormats.XML] - isPlainText = true - mediaType = "application/xml" - - - -[outputs] -section = [ "HTML", "Calendar", "RSS", "XML"] diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..02dad95 --- /dev/null +++ b/config.yaml @@ -0,0 +1,74 @@ +baseURL: "https://staging.berlin.ccc.de/s" +languageCode: "de-de" +title: "Chaos Computer Club Berlin e.V." +theme: "beautifulhugo" +RelativeURLs: true +CanonifyURLs: true + +Params: + license: "CC-BY" + subtitle: "Willkommen! Wir sind ein Erfa-Kreis des Chaos Computer Club e.V. und die örtliche Niederlassung des CCC in Berlin." + logo: "img/logo.png" + favicon: "img/favicon.ico" + dateFormat: "January 2, 2006" + commit: false + rss: true + comments: true + readingTime: true + useHLJS: true + DateForm: "30.12.2006" + +taxonomies: + category: "categories" + series: "series" + tag: "tags" + +permalinks: + post: "/post/:year/:month/:day/:title/" + +Author: + twitter: "clubdiscordia" + email: "mail@berlin.ccc.de" + +menu: + main: + - identifier: "verein" + name: "Verein" + weight: 200 + - identifier: "veranstaltungen" + name: "Veranstaltungen" + weight: 300 + - identifier: "news" + name: "News" + url: "post/" + weight: 500 + - identifier: "impressum" + name: "Impressum" + url: "page/impressum/" + weight: 600 + +mediaTypes: + "text/calendar": + suffix: "ics" + "application/rss": + suffix: "rss" + "application/xml": + suffix: "xml" + + +outputFormats: + RSS: + mediaType: "application/rss" + XML: + isPlainText: true + mediaType: "application/xml" + +outputs: + section: + - "HTML" + - "Calendar" + - "RSS" + - "XML" + page: + - "HTML" + - "Calendar"