* refactor: migrate i18n files from YAML to TOML format and simplify structure * refactor: make translation file adjust to gohugoio/locales language code so date translation can work properly * refactor: use hyphens instead of underscores for i18n, because that's how Hugo pick the translation file * docs: update comments for i18n language availability and CJK language detection in hugo.toml.
34 lines
794 B
TOML
34 lines
794 B
TOML
mainSections = ["post"]
|
|
rssFullContent = true
|
|
favicon = ""
|
|
|
|
[footer]
|
|
since = 2020
|
|
|
|
[sidebar]
|
|
emoji = "🍥"
|
|
subtitle = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
[sidebar.avatar]
|
|
enabled = true
|
|
local = true
|
|
src = "img/avatar.png"
|
|
|
|
[article]
|
|
[article.license]
|
|
enabled = true
|
|
default = "Licensed under CC BY-NC-SA 4.0"
|
|
|
|
[widgets]
|
|
homepage = [
|
|
{ type = "search" },
|
|
{ type = "archives", params = { limit = 5 } },
|
|
{ type = "categories", params = { limit = 10 } },
|
|
{ type = "tag-cloud", params = { limit = 10 } },
|
|
]
|
|
page = [{ type = "toc" }]
|
|
|
|
[comments]
|
|
# See complete configuration in config/_default/params.toml
|
|
enabled = true
|
|
provider = "disqus"
|