aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/urls.py (follow)
Commit message (Collapse)AuthorAgeLines
* Switch to ruff for lintingGravatar Johannes Christ2023-05-10-1/+1
|
* Clarify Code IntentionsGravatar Hassan Abouelela2022-10-28-0/+2
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Improve Tag Commit NamingGravatar Hassan Abouelela2022-08-23-1/+1
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Add Tag Group SupportGravatar Hassan Abouelela2022-08-14-3/+9
| | | | | | | Adds support for tag groups in content. This involves some modification to the routing, and templating. Signed-off-by: Hassan Abouelela <[email protected]>
* Add Tag Page TemplateGravatar Hassan Abouelela2022-08-13-3/+18
| | | | | | Add a template for the tag page itself, and add a route to use it. Signed-off-by: Hassan Abouelela <[email protected]>
* Fix resource redirects for deploy previews.Gravatar Leon Sandøy2022-01-30-1/+1
| | | | | | | | | This could probably be improved by making it less hardcoded, but since there's a bunch of special cases, and since it only affects deploy previews, I'm choosing to solve this with a simple solution. I don't think realistically that we're gonna be adding a ton of resource types down the line anyway.
* Adds Static Route ConfigurationsGravatar Hassan Abouelela2021-10-10-3/+40
| | | | | Adds configuration which specifies how routes should be handled when building a static preview.
* Simplify content app.Gravatar kosayoda2021-03-23-1/+1
| | | | | | | | | Rather than having two views for the base page and all other pages, all pages now use the same view. The view context handler is simplified to take advantage of pathlib features. The markdown folder is now /content/resources/* rather than /content/resources/content/*, as the latter is unnecessary nesting.
* Rename `articles` to `pages`.Gravatar kosayoda2021-03-23-2/+2
| | | | | | 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/`.
* Update URLs to match new unlimited categories articlesGravatar ks1292020-11-28-7/+1
|
* Rename content -> articles for visual partGravatar ks1292020-10-06-1/+1
|
* Fix content app lintingGravatar ks1292020-10-05-1/+5
|
* Change guides system to content systemGravatar ks1292020-10-04-0/+11
As this system will be used for more than just guides, I had to do some refactoring to match this system with plans. Basically now there isn't guides, but articles instead.