summaryrefslogtreecommitdiff
path: root/app/builder/views.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-11 19:02:50 -0500
committerluxagraf <sng@luxagraf.net>2020-11-11 19:02:50 -0500
commit49f49c1488f5b8fb6cad376123feabf9214ec524 (patch)
tree8b2877ca5158ef2c31181baa334d2eae02a8fe65 /app/builder/views.py
parent9657a366a0a6c734b264ee5e219a9f34e8db010b (diff)
added a builder to newletter
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 cbb33fb..7d463a7 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -11,6 +11,7 @@ from pages.build import builder as page_builder
#from fieldnotes.build import builder as fieldnotes_builder
from photos.build import dailybuilder
from posts.build import src_builder, guide_builder, fieldnotes_builder
+from lttr.build import lttr_builder
options = {
'writing': BuildWriting,
@@ -72,6 +73,9 @@ def do_build(request):
elif section == 'fieldnotes':
context = {'message': 'Writing FieldNotes to Disk'}
fieldnotes_builder()
+ elif section == 'lttr_archive':
+ context = {'message': 'Writing newsletter archives to Disk'}
+ lttr_builder()
else:
options[section]().build()
context = {'message': 'Writing %s to Disk' % section}