diff --git a/netlify.toml b/netlify.toml index 314fddf6..4ffcecb4 100644 --- a/netlify.toml +++ b/netlify.toml @@ -20,10 +20,10 @@ [build] publish = "site/" - command = "crowdin download && mkdocs build --config-file config/mkdocs.en.yml && mkdocs build --config-file config/mkdocs.es.yml && mkdocs build --config-file config/mkdocs.he.yml && mkdocs build --config-file config/mkdocs.fr.yml && mkdocs build --config-file config/mkdocs.nl.yml && mv _redirects site/" + command = "crowdin download && mkdocs build --config-file config/mkdocs.en.yml && mkdocs build --config-file config/mkdocs.es.yml && mkdocs build --config-file config/mkdocs.he.yml && mkdocs build --config-file config/mkdocs.fr.yml && mkdocs build --config-file config/mkdocs.nl.yml && mv static/* site/" [context.deploy-preview] - command = "mkdocs build --config-file config/mkdocs.en.yml && mv _redirects site/" + command = "mkdocs build --config-file config/mkdocs.en.yml && mv static/* site/" [[headers]] for = "/*" diff --git a/_redirects b/static/_redirects similarity index 99% rename from _redirects rename to static/_redirects index 8e0af82a..ec34af73 100644 --- a/_redirects +++ b/static/_redirects @@ -26,6 +26,7 @@ / /en/ 302 /.well-known/matrix/* https://matrix.privacyguides.org/.well-known/matrix/:splat 200 +/.well-known/* /well-known/:splat 200 /kb /en/basics/why-privacy-matters/ /:lang/kb /:lang/basics/why-privacy-matters/ diff --git a/theme/.well-known/openpgpkey/hu/dnrefmbtd6i58w8xfy4imj94cmbw3u3h b/static/well-known/openpgpkey/hu/dnrefmbtd6i58w8xfy4imj94cmbw3u3h similarity index 100% rename from theme/.well-known/openpgpkey/hu/dnrefmbtd6i58w8xfy4imj94cmbw3u3h rename to static/well-known/openpgpkey/hu/dnrefmbtd6i58w8xfy4imj94cmbw3u3h diff --git a/theme/.well-known/openpgpkey/policy b/static/well-known/openpgpkey/policy similarity index 100% rename from theme/.well-known/openpgpkey/policy rename to static/well-known/openpgpkey/policy diff --git a/theme/.well-known/security.txt b/static/well-known/security.txt similarity index 100% rename from theme/.well-known/security.txt rename to static/well-known/security.txt