website: tweaks (#6945)

This commit is contained in:
sh
2026-05-05 16:32:26 +00:00
committed by GitHub
parent e0f7d6fb55
commit db783d85d7
3 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ const globalConfig = {
}
const translationsDirectoryPath = './langs'
const supportedRoutes = ["blog", "contact", "invitation", "messaging", "docs", "fdroid", "why", ""]
const supportedRoutes = ["blog", "contact", "invitation", "messaging", "docs", "fdroid", "why", "file", ""]
let supportedLangs = []
fs.readdir(translationsDirectoryPath, (err, files) => {
if (err) {
+1
View File
@@ -48,6 +48,7 @@ for lang in "${langs[@]}"; do
cp src/invitation.html src/$lang
cp src/fdroid.html src/$lang
cp src/why.html src/$lang
cp src/file.html src/$lang
echo "{\"lang\":\"$lang\"}" > src/$lang/$lang.json
echo "done $lang copying"
done