mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-12-21 21:55:26 -05:00
Create 404 Page (#2031)
This commit is contained in:
parent
f6ca66bbb4
commit
052671197b
4
.github/workflows/pages.yml
vendored
4
.github/workflows/pages.yml
vendored
@ -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
15
docs/404.en.md
Normal 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)
|
20
netlify.toml
20
netlify.toml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user