From 5bc22c064fbc51987007d85fbc8296a998cf6e84 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 18 Sep 2019 21:14:38 -0400 Subject: added posts, consolidated essays into posts --- 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 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} -- cgit v1.2.3-70-g09d2