summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_layouts/git-wiki-404.html15
-rw-r--r--assets/404.html7
-rw-r--r--assets/404.md17
3 files changed, 17 insertions, 22 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
diff --git a/assets/404.html b/assets/404.html
deleted file mode 100644
index 7f4c12b..0000000
--- a/assets/404.html
+++ /dev/null
@@ -1,7 +0,0 @@
----
-layout: git-wiki-404
-permalink: /404.html
-is_wiki_page: false
----
-
-<!--- this file is needed for automatic creation of non existent pages --->
diff --git a/assets/404.md b/assets/404.md
new file mode 100644
index 0000000..809dc7e
--- /dev/null
+++ b/assets/404.md
@@ -0,0 +1,17 @@
+---
+layout: default
+permalink: /404.html
+---
+
+# Four Oh Four
+
+## Page not found...
+
+How did we end up here?
+
+Perhaps you crossed paths with Mal'Ganis or Yogg-Saron?
+
+We have sent a saftey murloc to guide you back to safety!
+
+| [Mmmrrgmgrrrgmmll!](home.md) | [Create a new page](https://github.com/azerothcore/wiki/new/master?filename=docs/.md)
+| --- | --- |