diff options
author | luxagraf <sng@luxagraf.net> | 2023-05-28 09:40:10 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-05-28 09:40:10 -0500 |
commit | 7ba1f6de4a39d294594dc1e93a58400f6991398f (patch) | |
tree | 7688589c7eba6dbb3a70e5ee427407f63d31842a /app/builder | |
parent | 0abca069496494707496fe4e129c92e18fac81e2 (diff) |
jrnl: finished up trip section
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 85e7226..bb23686 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, BuildFilms +from posts.build import BuildJrnl, BuildFieldNotes, BuildSrc, BuildGuide, BuildEssays, BuildRange, BuildFriends, BuildFilms, BuildTrips def do_build(request): section = request.GET.get('id', '') @@ -28,6 +28,9 @@ def do_build(request): elif section == 'films': context = {'message': 'Writing films to Disk'} BuildFilms("posts", "post").build() + elif section == 'trips': + context = {'message': 'Writing trips to Disk'} + BuildTrips("posts", "trip").build() elif section == 'essays': context = {'message': 'Writing essays to Disk'} BuildEssays("posts", "post").build() |