From 49f49c1488f5b8fb6cad376123feabf9214ec524 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 11 Nov 2020 19:02:50 -0500 Subject: added a builder to newletter --- app/builder/views.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/builder') 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} -- cgit v1.2.3-70-g09d2