website: tweaks (#6945)

This commit is contained in:
sh authored and GitHub committed 2026-05-05 17:32:26 +01:00
1 parent e0f7d6fb55
commit db783d85d7
3 files changed
+2 -1

No files matched your search

+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) {
File renamed without changes.
+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