diff options
author | luxagraf <sng@luxagraf.net> | 2023-05-07 09:29:45 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-05-07 09:29:45 -0400 |
commit | bc9e7257ad83e8d3bb71da0b8cac97ea6dc348aa (patch) | |
tree | 0383f4a5a82d9dc1418c46a33efa3f63d7ffac48 /app/builder | |
parent | 1dde8abfac7a8f84f5ff30d424e417f5d6f0b273 (diff) |
posts: added films to build scripts and jrnl RSS
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 296b9e6..85e7226 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, BuildEssays, BuildRange, BuildFriends +from posts.build import BuildJrnl, BuildFieldNotes, BuildSrc, BuildGuide, BuildEssays, BuildRange, BuildFriends, BuildFilms def do_build(request): section = request.GET.get('id', '') @@ -25,6 +25,9 @@ def do_build(request): elif section == 'homepage': context = {'message': 'Writing index to Disk'} BuildHome("pages", "homepage").build() + elif section == 'films': + context = {'message': 'Writing films to Disk'} + BuildFilms("posts", "post").build() elif section == 'essays': context = {'message': 'Writing essays to Disk'} BuildEssays("posts", "post").build() |