Add 404 page
This commit is contained in:
@@ -38,6 +38,7 @@ pages:
|
||||
- ./bin/generate_images_table.py
|
||||
- ./bin/generate_kernel_stats.py
|
||||
- mkdir -p ./public/
|
||||
- cp ./.gitlab/404.html ./public/
|
||||
- cp ./.gitlab/public.css ./public/
|
||||
- pandoc -s ./.gitlab/www.md -o ./public/index.html -c public.css
|
||||
- pandoc -s ./device-stats.md -o ./public/device-stats.html -c public.css
|
||||
|
||||
15
.gitlab/404.html
Normal file
15
.gitlab/404.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body onload="redirect()">
|
||||
|
||||
<h1>404 - Redirecting to https://arm.kali.org/</h1>
|
||||
|
||||
<script>
|
||||
function redirect() {
|
||||
location.replace("https://arm.kali.org/")
|
||||
// location.replace('https://web.archive.org/web/*/https://arm.kali.org'+window.location.pathname+'*')
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user