aboutsummaryrefslogtreecommitdiffstats
path: root/hypo.hy
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-02-19 01:35:59 +0100
committerGravatar Tom Willemse2014-02-19 01:35:59 +0100
commitc5a6699ce4ae79145651518d241c7b0ac7b38876 (patch)
tree2e91b81575a3504cccf8c70e9661c2ff55e7eddc /hypo.hy
parent31c26adf0e262e6e54ce4df151b651a1fc3a86ce (diff)
downloadhypo-c5a6699ce4ae79145651518d241c7b0ac7b38876.tar.gz
hypo-c5a6699ce4ae79145651518d241c7b0ac7b38876.zip
Add file not found template
Diffstat (limited to 'hypo.hy')
-rwxr-xr-xhypo.hy2
1 files changed, 1 insertions, 1 deletions
diff --git a/hypo.hy b/hypo.hy
index 435a128..07d31cc 100755
--- a/hypo.hy
+++ b/hypo.hy
@@ -55,7 +55,7 @@
(defun no-such-file []
(setv web.ctx.status (str "404 Not Found"))
- "No such file.\n")
+ (render.notfound))
(defun get-lexer [filename content]
"Try to guess the correct lexer by FILENAME and CONTENT.