summaryrefslogtreecommitdiff
path: root/404.md
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-05-22 21:08:12 +0200
committerGitHub <noreply@github.com>2017-05-22 21:08:12 +0200
commitd955e43cf730aa1b095259ff18d750e2aa211b26 (patch)
tree07f99049b7aab4c21441594f8aa0050122d2b7ef /404.md
parent29c2501a10af6fe3830195ece9aae0fdc28b46ab (diff)
downloadwiki-d955e43cf730aa1b095259ff18d750e2aa211b26.tar.gz
wiki-d955e43cf730aa1b095259ff18d750e2aa211b26.tar.bz2
wiki-d955e43cf730aa1b095259ff18d750e2aa211b26.zip
Implementing wiki folder config step #2
Diffstat (limited to '404.md')
-rw-r--r--404.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/404.md b/404.md
index 1fbd6ec..abd414a 100644
--- a/404.md
+++ b/404.md
@@ -6,6 +6,6 @@ permalink: /404.html
<!-- redirect to page creator if not exists -->
<script type="text/javascript">
var filename = window.location.pathname.split('/').pop();
- var url = '{{ site.github.repository_url }}/new/{{site.git_branch}}?filename=wiki/'+filename;
+ var url = '{{ site.github.repository_url }}/new/{{site.git_branch}}?filename={{ site.wiki_folder | default: 'wiki' }}/'+filename;
window.location=url;
</script>