diff options
author | 2021-03-23 18:24:56 +0800 | |
---|---|---|
committer | 2021-03-23 18:38:42 +0800 | |
commit | 367ba267c4dbc6d406922f80bc4337ee9a0139a0 (patch) | |
tree | e845e88356d37f424a8bdf002b9e6fb5f4dec83f /pydis_site/apps/content/urls.py | |
parent | Simplify relevant_links configuration in markdown. (diff) |
Rename `articles` to `pages`.
Articles was a good name, but we want an `articles` category in
the future. `/pages/guides/` and `/pages/articles/` are clearer in name
than `/articles/guides/` and `/articles/articles/`.
Diffstat (limited to 'pydis_site/apps/content/urls.py')
-rw-r--r-- | pydis_site/apps/content/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/apps/content/urls.py b/pydis_site/apps/content/urls.py index 49a5a2ef..1406f672 100644 --- a/pydis_site/apps/content/urls.py +++ b/pydis_site/apps/content/urls.py @@ -4,6 +4,6 @@ from . import views app_name = "content" urlpatterns = [ - path("", views.ArticlesView.as_view(), name='articles'), - path("<path:location>/", views.ArticleOrCategoryView.as_view(), name='article_category'), + path("", views.PagesView.as_view(), name='pages'), + path("<path:location>/", views.PageOrCategoryView.as_view(), name='page_category'), ] |