diff options
author | luxagraf <sng@luxagraf.net> | 2017-05-01 16:29:52 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2017-05-01 16:29:52 -0500 |
commit | c53aeceae4a9867f5f13ee99434138b5b8543a8c (patch) | |
tree | c0a92ed819fc8779510a4f569214d24de5251bf0 /app/builder/views.py | |
parent | 02f45fde364b4854b02b797cfcee0cb25543b58e (diff) |
fixed map builder
Diffstat (limited to 'app/builder/views.py')
-rw-r--r-- | app/builder/views.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/builder/views.py b/app/builder/views.py index 1875a91..55a037c 100644 --- a/app/builder/views.py +++ b/app/builder/views.py @@ -2,7 +2,7 @@ from django.shortcuts import render_to_response 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, amp_builder +from jrnl.build import archive_builder, detail_builder, home_builder, rss_builder, amp_builder, map_builder from resume.build import builder as resume_builder from books.build import builder as book_builder from birds.build import builder as bird_builder @@ -15,7 +15,6 @@ options = { 'writing': BuildWriting, 'photo_galleries': BuildPhotos, 'projects': BuildProjects, - 'map': BuildMap, 'feed': BuildWritingFeed, 'sitemap': BuildSitemap, } @@ -60,6 +59,9 @@ def do_build(request): elif section == 'pages': context = {'message': 'Writing Pages to Disk'} page_builder() + elif section == 'map': + context = {'message': 'Writing Map to Disk'} + map_builder() else: options[section]().build() context = {'message': 'Writing %s to Disk' % section} |