summaryrefslogtreecommitdiff
path: root/app/jrnl/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/jrnl/build.py')
-rw-r--r--app/jrnl/build.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/jrnl/build.py b/app/jrnl/build.py
index 7bebc13..0f0572b 100644
--- a/app/jrnl/build.py
+++ b/app/jrnl/build.py
@@ -17,6 +17,16 @@ class BuildJrnl(BuildNew):
self.build_location_view()
self.build_feed("jrnl:feed")
+ def build_arc(self):
+ self.build_list_view(
+ base_path=reverse("jrnl:live_redirect"),
+ paginate_by=24
+ )
+ self.build_year_view("jrnl:list_year")
+ self.build_month_view("jrnl:list_month")
+ self.build_location_view()
+
+
def build_location_view(self):
c = apps.get_model('locations', 'Country')
r = apps.get_model('locations', 'Region')