summaryrefslogtreecommitdiff
path: root/app/builder
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf>2021-03-24 14:22:04 -0400
committerluxagraf <sng@luxagraf>2021-03-24 14:22:04 -0400
commit5b86e4c986b39bc1027d371e9c108fa30ef3f052 (patch)
tree22798d834af453abed02f53742acab1785135f63 /app/builder
parente807fb3c0e738b512acb68d230e4aae631d3c76d (diff)
lttr: migrated to new post -> lttr -> send system.
Diffstat (limited to 'app/builder')
-rw-r--r--app/builder/views.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/app/builder/views.py b/app/builder/views.py
index e3c795e..5d209d5 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -6,8 +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
-from lttr.build import lttr_builder
+from posts.build import BuildJrnl, BuildFieldNotes, BuildSrc, BuildGuide, BuildEssays, BuildRange, BuildFriends
def do_build(request):
section = request.GET.get('id', '')
@@ -35,15 +34,18 @@ def do_build(request):
elif section == 'guide':
context = {'message': 'Writing guide section to Disk'}
BuildGuide("posts", "post").build()
+ elif section == 'range':
+ context = {'message': 'Writing Range to Disk'}
+ BuildRange("posts", "post").build()
+ elif section == 'friends':
+ context = {'message': 'Writing Friends to Disk'}
+ BuildFriends("posts", "post").build()
elif section == 'pages':
context = {'message': 'Writing Pages to Disk'}
BuildPages("pages", "page", 'luxagraf.net').build()
elif section == 'fieldnotes':
context = {'message': 'Writing FieldNotes to Disk'}
BuildFieldNotes("posts", "post").build()
- elif section == 'lttr_archive':
- context = {'message': 'Writing newsletter archives to Disk'}
- lttr_builder()
elif section == 'buildbooks':
context = {'message': 'Writing Book Pages to Disk'}
book_builder()
@@ -62,9 +64,6 @@ def do_build(request):
elif section == 'discursivepages':
context = {'message': 'Writing Discursive Meditation Pages to Disk'}
BuildPages("pages", "page", 'discursivemeditation.com').build()
- elif section == 'srcrss':
- context = {'message': 'Writing SrcRSS to Disk'}
- BuildSrc("posts", "post").build_feed("src:feed")
return render(request, 'admin/message.html', context)