summaryrefslogtreecommitdiff
path: root/app/builder/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/builder/views.py')
-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()