diff options
author | luxagraf <sng@luxagraf.net> | 2020-12-04 15:55:43 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-12-04 15:55:43 -0500 |
commit | 05fd07a6b4d2f21462880fad6c2bd26237cd3fc2 (patch) | |
tree | aa949ca1753a8b8844f375b25ec8535e5de91e42 /app/builder | |
parent | cdaa099a3988b1487b6728215adbf1dc6c2c58fe (diff) |
updated essay builder
Diffstat (limited to 'app/builder')
-rw-r--r-- | app/builder/views.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/builder/views.py b/app/builder/views.py index b50bcb3..27385aa 100644 --- a/app/builder/views.py +++ b/app/builder/views.py @@ -6,7 +6,7 @@ from resume.build import pub_builder, resume_builder from books.build import builder as book_builder from sightings.build import builder as sightings_builder from pages.build import BuildPages, BuildHome -from posts.build import BuildJrnl, BuildFieldNotes, BuildSrc, BuildGuide +from posts.build import BuildJrnl, BuildFieldNotes, BuildSrc, BuildGuide, BuildEssays from lttr.build import lttr_builder def do_build(request): @@ -26,6 +26,9 @@ def do_build(request): elif section == 'homepage': context = {'message': 'Writing index to Disk'} BuildHome("pages", "homepage").build() + elif section == 'essays': + context = {'message': 'Writing essays to Disk'} + BuildEssays("posts", "post").build() elif section == 'src': context = {'message': 'Writing src section to Disk'} BuildSrc("posts", "post").build() |