Switch config to YAML

This commit is contained in:
nemunaire 2022-01-08 20:29:50 +01:00
parent b98b471547
commit 57a375fd8e
2 changed files with 37 additions and 38 deletions

View File

@ -1,38 +0,0 @@
baseURL = "https://help.happydns.org/"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir= true
theme = "hugo-theme-learn"
metaDataFormat = "yaml"
[Languages]
[Languages.en]
title = "happyDNS help center"
weight = 1
languageName = "English"
landingPageURL = "/en"
landingPageName = "<i class='fas fa-home'></i> Home"
[Languages.fr]
title = "happyDNS centre d'aide"
weight = 2
languageName = "Français"
landingPageURL = "/fr"
landingPageName = "<i class='fas fa-home'></i> Accueil"
[params]
editURL = "https://framagit.org/happyDNS/help/-/blob/master/content/"
description = "Finally a simple interface for domain names."
themeVariant = "green"
author = "The happyDNS team"
showVisitedLinks = true
disableBreadcrumb = false
disableMermaid = true
[outputs]
home = [ "HTML", "RSS", "JSON"]
[[menu.shortcuts]]
name = "<i class='fab fa-gitlab'></i> Project sources"
url = "https://framagit.org/happyDNS/"
weight = 15

37
config.yml Normal file
View File

@ -0,0 +1,37 @@
baseURL: https://help.happydns.org/
defaultContentLanguage: en
defaultContentLanguageInSubdir: true
theme: hugo-theme-learn
languages:
en:
title: "happyDNS help center"
weight: 1
languageName: "English"
landingPageURL: "/en"
landingPageName: "<i class='fas fa-home'></i> Home"
fr:
title: "happyDNS centre d'aide"
weight: 2
languageName: "Français"
landingPageURL: "/fr"
landingPageName: "<i class='fas fa-home'></i> Accueil"
params:
editURL: "https://framagit.org/happyDNS/help/-/blob/master/content/"
description: "Finally a simple interface for domain names."
themeVariant: "green"
author: "The happyDNS team"
showVisitedLinks: true
disableBreadcrumb: false
disableMermaid: true
outputs:
home: [ "HTML", "RSS", "JSON"]
shortcuts:
name: "<i class='fab fa-gitlab'></i> Project sources"
url: "https://framagit.org/happyDNS/"
weight: 15