website: fix build

This commit is contained in:
Evgeny Poberezkin committed 2026-04-02 21:11:47 +01:00
1 parent 7a4c7f8538
commit d44dba630c
3 files changed
+1 -3

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ const globalConfig = {
}
const translationsDirectoryPath = './langs'
const supportedRoutes = ["blog", "contact", "invitation", "messaging", "docs", "fdroid", "why", "file", ""]
const supportedRoutes = ["blog", "contact", "invitation", "messaging", "docs", "fdroid", "why", ""]
let supportedLangs = []
fs.readdir(translationsDirectoryPath, (err, files) => {
if (err) {
@@ -4,7 +4,6 @@ title: "SimpleX File Transfer"
description: "Send files securely with end-to-end encryption"
templateEngineOverride: njk
active_file: true
permalink: false
---
{% set lang = page.url | getlang %}
{% from "components/macro.njk" import overlay %}
-1
View File
@@ -48,7 +48,6 @@ 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