diff options
author | mjfernez <mjf@mjfer.net> | 2022-03-10 18:34:22 -0500 |
---|---|---|
committer | mjfernez <mjf@mjfer.net> | 2022-03-10 18:34:22 -0500 |
commit | c0be486968fe3d375d1f408eae7f954e1f5f82fc (patch) | |
tree | d5fac6cc4a8d129275bde64498b0e6662d4d47fe /siteconfig.py | |
parent | f335ff5265a96fdc0b9e0e9d8e4384f866de4e19 (diff) | |
download | ezcms-c0be486968fe3d375d1f408eae7f954e1f5f82fc.tar.gz |
Fixes RSS issues. Changes time tracking to git
This commit primarily changes the code base to base the file last
modified time on the output of "git log". This adds dateutil and git
itself as a dependency, but those are pretty common...
This also fixes some minor issues including:
- missing / between mjfer.net and the URI
- README up to date with latest changes
- linting
Diffstat (limited to 'siteconfig.py')
-rw-r--r-- | siteconfig.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/siteconfig.py b/siteconfig.py index da21d11..0f4f66c 100644 --- a/siteconfig.py +++ b/siteconfig.py @@ -5,6 +5,7 @@ siteconfig.py - user editable configuration file # this file from config import config + class siteconfig(config): # REQUIRED SETTINGS # @@ -28,7 +29,9 @@ class siteconfig(config): # 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. + SECRET_KEY = ( + config.GENERATED_SECRET_KEY + ) # replace with random number. # Options for Flask Compress # see here https://pypi.org/project/Flask-Compress/ @@ -37,7 +40,7 @@ class siteconfig(config): # RSS Settings rss_channel_config = { 'TITLE': "RSS Feed for mjfer.net", - 'LINK': "mjfer.net", + 'LINK': "https://mjfer.net/", 'DESCRIPTION': "", 'LANGUAGE': "en-us", 'PUBDATE': "", |