Browse Source

Use yaml for site configuration

Théophile Bastian 7 months ago
parent
commit
07d6c92e85
2 changed files with 29 additions and 3 deletions
  1. 0 3
      config.toml
  2. 29 0
      config.yaml

+ 0 - 3
config.toml

@@ -1,3 +0,0 @@
-baseURL = "https://nomnom.tobast.fr/"
-languageCode = "fr-fr"
-title = "Omnomnom."

+ 29 - 0
config.yaml

@@ -0,0 +1,29 @@
+baseURL: "https://nomnom.tobast.fr/"
+languageCode: "fr-fr"
+title: "Omnomnom."
+disableHugoGeneratorInject: true
+
+params:
+  sourceURL: "https://git.tobast.fr/tobast/nomnom"
+  siteLicenseURL: "https://www.gnu.org/licenses/gpl-3.0.en.html"
+  siteLicenseName: "GNU GPLv3"
+
+taxonomies:
+  category: categories
+  tag: tags
+  veganness: veganness
+  season: season
+
+privacy:
+  disqus:
+    disable: true
+  googleAnalytics:
+    disable: true
+  instagram:
+    disable: true
+  twitter:
+    disable: true
+  vimeo:
+    disable: true
+  youtube:
+    disable: true