diff options
author | 2021-03-23 23:17:55 +0800 | |
---|---|---|
committer | 2021-03-23 23:17:55 +0800 | |
commit | 82daedc766dc3986dc9ac17ea8a6b3da87a6b1ac (patch) | |
tree | f7f2cf5d08525bb5849676903772c61a79022e36 /pydis_site/settings.py | |
parent | Rename `articles` to `pages`. (diff) |
Simplify content app.
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.
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r-- | pydis_site/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 0b4d9fd1..3abf556a 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -287,4 +287,4 @@ SITE_REPOSITORY_OWNER = "python-discord" SITE_REPOSITORY_NAME = "site" SITE_REPOSITORY_BRANCH = "master" -PAGES_PATH = Path(BASE_DIR, "pydis_site", "apps", "content", "resources", "content") +PAGES_PATH = Path(BASE_DIR, "pydis_site", "apps", "content", "resources") |