From 466b071fe637cd8d508659de509caeeb013ac9d7 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 15 Nov 2020 13:47:57 -0500 Subject: fixed some build issues --- app/builder/views.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/builder') diff --git a/app/builder/views.py b/app/builder/views.py index 5e67dc2..659fde0 100644 --- a/app/builder/views.py +++ b/app/builder/views.py @@ -7,9 +7,9 @@ from books.build import builder as book_builder from sightings.build import builder as sightings_builder from photos.build import builder as photo_builder #from notes.build import builder as notes_builder -from pages.build import builder as page_builder +from pages.build import BuildPages, BuildHome from photos.build import dailybuilder -from posts.build import BuildJrnl, BuildFieldNotes, BuildSrc, BuildGuide, BuildHome +from posts.build import BuildJrnl, BuildFieldNotes, BuildSrc, BuildGuide from lttr.build import lttr_builder def do_build(request): @@ -28,7 +28,7 @@ def do_build(request): BuildJrnl("posts", "post").build_feed("jrnl:feed") elif section == 'homepage': context = {'message': 'Writing index to Disk'} - BuildHome("posts", "post").homepage() + BuildHome("pages", "home").build() elif section == 'src': context = {'message': 'Writing src section to Disk'} BuildSrc("posts", "post").build() @@ -37,7 +37,7 @@ def do_build(request): BuildGuide("posts", "post").build() elif section == 'pages': context = {'message': 'Writing Pages to Disk'} - page_builder() + BuildPages("pages", "page").build() elif section == 'fieldnotes': context = {'message': 'Writing FieldNotes to Disk'} BuildFieldNotes("posts", "post").build() -- cgit v1.2.3-70-g09d2