diff options
-rw-r--r-- | app/builder/views.py | 4 | ||||
-rw-r--r-- | design/templates/admin/buttons.html | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/app/builder/views.py b/app/builder/views.py index ffe70ca..d820f0e 100644 --- a/app/builder/views.py +++ b/app/builder/views.py @@ -6,6 +6,7 @@ from jrnl.build import BuildJrnl, build_arc, build_detail from resume.build import builder as resume_builder from books.build import builder as book_builder from photos.build import builder as photo_builder +from figments.build import builder as figments_builder options = { 'writing': BuildWriting, @@ -45,6 +46,9 @@ def do_build(request): elif section == 'luxphotos': context = {'message': 'Writing galleries to Disk'} photo_builder() + elif section == 'figments': + context = {'message': 'Writing figments to Disk'} + figments_builder() else: options[section]().build() context = {'message': 'Writing %s to Disk' % section} diff --git a/design/templates/admin/buttons.html b/design/templates/admin/buttons.html index 61cf41c..fce4255 100644 --- a/design/templates/admin/buttons.html +++ b/design/templates/admin/buttons.html @@ -51,6 +51,7 @@ <li class="item"><a href="/admin/build/build?id=pages">Build All Pages</a></li> <li class="item"><a href="/admin/build/build?id=sitemap">Build Sitemap</a></li> <li class="item"><a href="/admin/build/build?id=src">Build src</a></li> + <li class="item"><a href="/admin/build/build?id=figments">Build Figments</a></li> <li class="item"><a href="/admin/build/build?id=scrapeflickr">Scrape Flickr</a></li> <li class="item"><a href="/admin/build/build?id=luxphotos">Build Private Galleries</a></li> <li class="item"><a href="{% url 'admin:upload_zip'%}">Upload Photos</a></li> |