]> git.p6c8.net - pcdenotes.git/blobdiff - notes/urls.py
Filter drafts when creating year list
[pcdenotes.git] / notes / urls.py
index 560e8f5a3670b0b99ebbbc8839c52464999fa9f7..9a200539fa405161398303db5e9143eefb162947 100644 (file)
@@ -7,4 +7,7 @@ urlpatterns=[
     path('', views.note_list, name='note_list'),
     re_path('^notes/?$', views.note_redirect, name='note_redirect'),
     path('notes/<slug:note_slug>', views.note_detail, name='note_detail'),
+    path('archive/', views.archive_main, name='archive_main'),
+    path('archive/<int:archive_year>/', views.archive_year, name='archive_year'),
+    path('archive/<int:archive_year>/<int:archive_month>/', views.archive_month, name='archive_month'),
 ]
\ No newline at end of file

patrick-canterino.de