Create 404 Page (#2031)

This commit is contained in:
Jonah Aragon 2023-02-26 12:28:44 -06:00
parent f6ca66bbb4
commit 052671197b
No known key found for this signature in database
3 changed files with 37 additions and 2 deletions

View File

@ -11,7 +11,7 @@ concurrency:
cancel-in-progress: true
env:
PYTHON_VERSION: 3.x
PYTHON_VERSION: 3.8
jobs:
build:
@ -34,7 +34,7 @@ jobs:
- name: Python setup
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.8'
- name: Cache files
uses: actions/cache@v3.2.6

15
docs/404.en.md Normal file
View File

@ -0,0 +1,15 @@
---
hide:
- feedback
---
# 404 - Not Found
We couldn't find the page you were looking for! Maybe you were looking for one of these?
- [Introduction to Threat Modeling](basics/threat-modeling.md)
- [Recommended DNS Providers](dns.md)
- [Best Desktop Web Browsers](desktop-browsers.md)
- [Best VPN Providers](vpn.md)
- [Privacy Guides Forum](https://discuss.privacyguides.net)
- [Our Blog](https://blog.privacyguides.org)

View File

@ -248,3 +248,23 @@
[[redirects]]
from = "/linux-desktop"
to = "/desktop/"
[[redirects]]
from = "/fr/*"
to = "/fr/404/index.html"
status = 404
[[redirects]]
from = "/he/*"
to = "/he/404/index.html"
status = 404
[[redirects]]
from = "/nl/*"
to = "/nl/404/index.html"
status = 404
[[redirects]]
from = "/*"
to = "/404/index.html"
status = 404