Mirror the es/ pattern: docs/legal/pt/ + docs/o-que-e-tane.md as the Portuguese source of truth, build-legal.sh extended to generate the Hugo pt.* pages from them, config.toml gets a [languages.pt] entry, i18n/pt.json translates the UI chrome. og-pt.png is a placeholder copy of og-en.png until a proper Portuguese social card is made by hand (same as the other og-*.png, per DEPLOY.md). Verified locally with the Docker build: /pt/, /pt/about/, all four /pt/legal/ pages and the lang-switch link all resolve correctly.
47 lines
1.7 KiB
TOML
47 lines
1.7 KiB
TOML
baseURL = "https://tane.comunes.org/"
|
|
title = "Tane"
|
|
defaultContentLanguage = "en"
|
|
defaultContentLanguageInSubdir = false
|
|
enableRobotsTXT = true
|
|
enableGitInfo = false
|
|
|
|
# Static, no-JS marketing site. Kept intentionally light: one page + a small
|
|
# legal section, English/Spanish. Screenshots come from the app's golden
|
|
# harness (apps/app_seeds/test/screenshots), copied in by collect_screenshots.sh.
|
|
|
|
[params]
|
|
email = "info@comunes.org"
|
|
publisher = "Asociación Comunes"
|
|
publisherURL = "https://comunes.org"
|
|
license = "AGPL-3.0"
|
|
# Links rendered only when set, so nothing broken shows before they exist:
|
|
playStoreURL = "https://play.google.com/store/apps/details?id=org.comunes.tane" # Google Play
|
|
fdroidURL = "" # F-Droid, once published
|
|
sourceURL = "https://git.comunes.org/comunes/tane" # public source repository (AGPL)
|
|
weblateURL = "https://translate.comunes.org/projects/tane/" # translation platform
|
|
|
|
[languages]
|
|
[languages.en]
|
|
languageName = "English"
|
|
languageCode = "en"
|
|
weight = 1
|
|
[languages.en.params]
|
|
description = "A local-first, decentralized app for keeping and sharing traditional seeds. Offline, encrypted, no account."
|
|
[languages.es]
|
|
languageName = "Español"
|
|
languageCode = "es"
|
|
weight = 2
|
|
[languages.es.params]
|
|
description = "Una app local-first y descentralizada para guardar y compartir semillas tradicionales. Sin conexión, cifrada, sin cuenta."
|
|
[languages.pt]
|
|
languageName = "Português"
|
|
languageCode = "pt"
|
|
weight = 3
|
|
[languages.pt.params]
|
|
description = "Uma app local-first e descentralizada para guardar e partilhar sementes tradicionais. Sem ligação, cifrada, sem conta."
|
|
|
|
[markup.goldmark.renderer]
|
|
unsafe = false
|
|
|
|
[minify]
|
|
disableJSON = true
|