summaryrefslogtreecommitdiff
path: root/app/builder
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-09-18 21:14:38 -0400
committerluxagraf <sng@luxagraf.net>2019-09-18 21:14:38 -0400
commit5bc22c064fbc51987007d85fbc8296a998cf6e84 (patch)
tree7d961ff86c478171ffee14168e9ae3f9d09f1ca5 /app/builder
parent9e7aadbcf9bab0ecfcd4afc96f6a09f9fe11a197 (diff)
added posts, consolidated essays into posts
Diffstat (limited to 'app/builder')
-rw-r--r--app/builder/views.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/builder/views.py b/app/builder/views.py
index ca4a876..2333704 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -12,6 +12,7 @@ from pages.build import builder as page_builder
from fieldnotes.build import builder as fieldnotes_builder
from photos.build import dailybuilder
from essays.build import essaybuilder
+from posts.build import posts_builder
options = {
'writing': BuildWriting,
@@ -79,6 +80,9 @@ def do_build(request):
elif section == 'essays':
context = {'message': 'Writing Essays to Disk'}
essaybuilder()
+ elif section == 'buildposts':
+ context = {'message': 'Writing Posts to Disk'}
+ posts_builder()
else:
options[section]().build()
context = {'message': 'Writing %s to Disk' % section}