diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/builder/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/builder/base.py b/app/builder/base.py index 5a479f3..d395239 100644 --- a/app/builder/base.py +++ b/app/builder/base.py @@ -148,8 +148,9 @@ class BuildWriting(Build): self.write_file('', t) def build_404(self): + c = Context() t = render_to_string('404.html', c).encode('utf-8') - self.write_file('', t) + self.write_file('', t, 'html', '404') class BuildPhotos(Build): def build(self): |