keep archive per year, don't call it archive

This commit is contained in:
j 2023-08-23 14:44:37 +02:00
commit cf2efd7fb3
8 changed files with 72 additions and 17 deletions

View file

@ -30,9 +30,9 @@ urlpatterns = [
path('login/', user_views.login, name='login'),
path('logout/', user_views.logout, name='logout'),
path('register/', user_views.register, name='register'),
path('archive/', item_views.archive, name='archive'),
path('comment/publish/', item_views.publish_comment, name='publish-comment'),
path('comment/', item_views.comment, name='comment'),
path('_<int:year>/', item_views.archive, name='archive'),
path('<int:id>/', item_views.item, name='item'),
path('<str:slug>/', page_views.page, name='page'),
path('', item_views.index, name='index'),