summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/builder/base.py3
-rw-r--r--design/templates/details/readme.html8
2 files changed, 10 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):
diff --git a/design/templates/details/readme.html b/design/templates/details/readme.html
new file mode 100644
index 0000000..4d42804
--- /dev/null
+++ b/design/templates/details/readme.html
@@ -0,0 +1,8 @@
+{% load typogrify_tags %}
+
+ <article role="main">
+ <h1 class="page--title">{{object.title|safe}}</h1>
+ <div class="post--article">
+ {{object.body_html|safe|smartypants|widont}}
+ </div>
+ </article>