summaryrefslogtreecommitdiff
path: root/app/builder/views.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-02-08 13:47:02 -0600
committerluxagraf <sng@luxagraf.net>2019-02-08 13:47:02 -0600
commitee62ce525c5c5c1b3abd25673598360f2ccd79cc (patch)
treeead317f6b487fc31219a48a1baf7d17cabcf4ce3 /app/builder/views.py
parent27aaf92d26eb75157dcfa923a5d63ea63feeb98c (diff)
changed essays to allow easier building
Diffstat (limited to 'app/builder/views.py')
-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 3bab64e..7949a35 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -12,6 +12,7 @@ from notes.build import builder as notes_builder
from pages.build import builder as page_builder
from sketches.build import builder as sketches_builder
from photos.build import dailybuilder
+from essays.build import essaybuilder
options = {
'writing': BuildWriting,
@@ -76,6 +77,9 @@ def do_build(request):
elif section == 'sketches':
context = {'message': 'Writing Notes to Disk'}
sketches_builder()
+ elif section == 'essays':
+ context = {'message': 'Writing Essays to Disk'}
+ essaybuilder()
else:
options[section]().build()
context = {'message': 'Writing %s to Disk' % section}