aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/settings.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-15 11:45:46 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-15 11:45:46 +0100
commitab1b31e9091a173bf22712df9133328d0408ecee (patch)
tree43331a6d327e69e6dfa51329f9e55a5b76c12f8f /pydis_site/settings.py
parentEditor: TOC insert correctly places on previous line rather than next line (diff)
Remove TOC, link headers, fix breadcrumb padding
Also removes some templates we don't care about
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r--pydis_site/settings.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py
index 70ec0a84..c4a1bf7e 100644
--- a/pydis_site/settings.py
+++ b/pydis_site/settings.py
@@ -287,11 +287,13 @@ WIKI_ACCOUNT_HANDLING = False
WIKI_ACCOUNT_SIGNUP_ALLOWED = False
WIKI_ANONYMOUS = True
+WIKI_ANONYMOUS_WRITE = False
WIKI_MARKDOWN_KWARGS = {
"extension_configs": {
"wiki.plugins.macros.mdx.toc": {
- "title": "Contents"
+ "anchorlink": True,
+ "baselevel": 2
}
}, "extensions": [
"markdown.extensions.abbr",