Upgrade config format for v0.16

This commit is contained in:
southerntofu 2022-02-23 20:42:08 +01:00
parent dfb241712e
commit e66d806117
1 changed files with 10 additions and 7 deletions

View File

@ -10,10 +10,6 @@ generate_rss = true
default_language = "en"
languages = [
{code = "fr", rss = true}
]
[extra]
# The common part of the title (appended to page/section titles)
title = "forge suite"
@ -53,15 +49,15 @@ repo = "https://tildegit.org/forge/endpoints"
url = "https://tildegit.org/forge/endpoints/commit/$id"
impl = [ { "name" = "endpoints.php", "repo" = "https://tildegit.org/forge/endpoints.php", url = "https://tildegit.org/forge/endpoints.php/commit/$id" } ]
[translations]
[translations.fr]
[extra.translations]
[extra.translations.fr]
source = "Source de cette page"
readmore = "Lire la suite"
previousPage = "Page précédente"
nextPage = "Page suivante"
dateFormat = "%d/%m/%Y"
nothing_yet = "Il n'y a pas encore d'article dans cette section."
[translations.en]
[extra.translations.en]
source = "Source for this page"
readmore = "Read more"
previousPage = "Previous page"
@ -69,3 +65,10 @@ nextPage = "Next page"
dateFormat = "%m/%d/%Y"
nothing_yet = "There is no article in this section yet."
[languages.fr]
generate_feed = true # there will be a feed for French content
build_search_index = true
[languages.en]
generate_feed = true
build_search_index = true