aboutsummaryrefslogtreecommitdiffstats
path: root/siteconfig.py
diff options
context:
space:
mode:
authormjfernez <mjf@mjfer.net>2021-12-22 16:38:35 -0500
committermjfernez <mjf@mjfer.net>2021-12-22 16:38:35 -0500
commite4b7179c121473be2e53999cc50933521498c7a9 (patch)
tree36d42bef404caca4bb91d2f70f01dd5f020d4d8e /siteconfig.py
parent5265b6ffb405f019647fd28ede8458fd6ab40dc5 (diff)
downloadezcms-e4b7179c121473be2e53999cc50933521498c7a9.tar.gz
Removed "/site" appendage. CSS fixes
This commit removes the "/site" appended to every directory and solved the problem of redirecting links correctly by setting 'parent_dir' in the main view context to point to '/' by default. This also changes how titles appear to conform to my sensibilities.
Diffstat (limited to 'siteconfig.py')
-rw-r--r--siteconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/siteconfig.py b/siteconfig.py
index 8717a82..aa03597 100644
--- a/siteconfig.py
+++ b/siteconfig.py
@@ -25,7 +25,7 @@ class siteconfig(config):
MAIN_SITE_DIRS = sorted(
config.DEFAULT_SITE_DIRS
) # ["dir1", "dir2", "dir3"]
-
+ MAIN_SITE_DIRS.remove("files")
# Set a custom secret key. If not set, it will be generated
# Most of the time, you don't need to set this!
SECRET_KEY = config.GENERATED_SECRET_KEY # replace with random number.
@@ -66,7 +66,7 @@ class siteconfig(config):
# RSS Settings
rss_channel_config = {
'TITLE': "mjfer.net RSS Feed",
- 'LINK': "https://mjfer.net/",
+ 'LINK': "https://mjfer.net/feed.xml",
'DESCRIPTION': "feed organized by the latest updated files",
'LANGUAGE': "en-us",
'PUBDATE': "",