summaryrefslogtreecommitdiff
path: root/app/builder
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-01-23 11:40:13 -0600
committerluxagraf <sng@luxagraf.net>2019-01-23 11:40:13 -0600
commit98c7a7d7831cb898b764a28907594fdf969045f5 (patch)
tree4fe911c44c04fe84e4986fca769095afb77e3890 /app/builder
parentc64a7d332fc39d2da93e412c72c459e8085c4d6d (diff)
Fixed resume and pub builder
Diffstat (limited to 'app/builder')
-rw-r--r--app/builder/views.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/builder/views.py b/app/builder/views.py
index c708778..d7d3659 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -3,7 +3,7 @@ from django.template import RequestContext
from builder.base import BuildWriting, BuildWritingFeed, BuildMap, BuildPhotos, BuildProjects, BuildSitemap
from src.build import builder as src_builder
from jrnl.build import archive_builder, detail_builder, home_builder, rss_builder, map_builder
-from resume.build import builder as resume_builder
+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 photos.build import builder as photo_builder
@@ -33,6 +33,9 @@ def do_build(request):
elif section == 'resume':
context = {'message': 'Writing Resume to Disk'}
resume_builder()
+ elif section == 'pubs':
+ context = {'message': 'Writing Publications to Disk'}
+ pub_builder()
elif section == 'buildrss':
context = {'message': 'Writing RSS to Disk'}
rss_builder()