summaryrefslogtreecommitdiff
path: root/_layouts/git-wiki-404.html
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2021-07-09 06:33:10 +0200
committerGitHub <noreply@github.com>2021-07-09 06:33:10 +0200
commita12f8d77e0be201addc4cd0536480cc68fdc12b8 (patch)
treef5866a546aafe91138eb12db71138f6bb9047774 /_layouts/git-wiki-404.html
parent7068d0df5518378c05e09e1146e18657a34cc473 (diff)
downloadwiki-a12f8d77e0be201addc4cd0536480cc68fdc12b8.tar.gz
wiki-a12f8d77e0be201addc4cd0536480cc68fdc12b8.tar.bz2
wiki-a12f8d77e0be201addc4cd0536480cc68fdc12b8.zip
chore: Make a better 404 (#529)
Diffstat (limited to '_layouts/git-wiki-404.html')
-rw-r--r--_layouts/git-wiki-404.html15
1 files changed, 0 insertions, 15 deletions
diff --git a/_layouts/git-wiki-404.html b/_layouts/git-wiki-404.html
deleted file mode 100644
index 6a7b4ec..0000000
--- a/_layouts/git-wiki-404.html
+++ /dev/null
@@ -1,15 +0,0 @@
----
-title: Not Found
-permalink: /404.html
-is_wiki_page: false
----
-
-<!-- redirect to page creator if not exists -->
-<script type="text/javascript">
- var filename = window.location.pathname.split('/').pop();
- if (!filename.endsWith(".md"))
- filename+=".md";
-
- var url = '{{ site.github.repository_url }}/new/{{site.git_branch | escape}}?filename={{ site.wiki_folder | default: 'wiki' }}/'+filename;
- window.location=url;
-</script> \ No newline at end of file