mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-24 01:53:51 +00:00
website: fix build
This commit is contained in:
3 files changed
+1
-3
No files matched your search
@@ -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 %}
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user