refactor: migrate theme configuration to TOML

This commit is contained in:
Jimmy Cai
2022-06-12 10:27:18 +00:00
committed by GitHub
parent 6cff36abee
commit 2d9c27a7c6
12 changed files with 248 additions and 378 deletions
+19
View File
@@ -0,0 +1,19 @@
# Change baseurl before deploy
baseurl = "https://demo.stack.jimmycai.com"
languageCode = "en-us"
paginate = 5
title = "Hugo Theme Stack Starter"
# Theme i18n support
# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw
DefaultContentLanguage = "en"
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
# This will make .Summary and .WordCount behave correctly for CJK languages.
hasCJKLanguage = false
# Change it to your Disqus shortname before using
disqusShortname = "hugo-theme-stack"
# GA Tracking ID
googleAnalytics = ""