aboutsummaryrefslogtreecommitdiffstats
path: root/siteconfig.py
diff options
context:
space:
mode:
authormjfernez <mjf@mjfer.net>2022-03-13 15:21:11 -0400
committermjfernez <mjf@mjfer.net>2022-03-13 15:21:11 -0400
commit94f71d6f8fc7301dfd470ccf2fee27e078321a78 (patch)
tree4a6864a043f764dd01e9d5c288ebb70b9be45abb /siteconfig.py
parent150b9695fdb0ebfeca0f8d5b268249bea46ea3f3 (diff)
downloadezcms-94f71d6f8fc7301dfd470ccf2fee27e078321a78.tar.gz
Pull changes from mjfer.net
This commit adds the changes from the mjfer.net which enable using git as the file last update tracker
Diffstat (limited to 'siteconfig.py')
-rw-r--r--siteconfig.py17
1 files changed, 10 insertions, 7 deletions
diff --git a/siteconfig.py b/siteconfig.py
index 4a653d4..0f4f66c 100644
--- a/siteconfig.py
+++ b/siteconfig.py
@@ -5,10 +5,11 @@ siteconfig.py - user editable configuration file
# this file
from config import config
+
class siteconfig(config):
# REQUIRED SETTINGS #
- DOMAIN = "example.net" # Your site here!
+ DOMAIN = "mjfer.net" # Your site here!
HOME_TITLE = "WELCOME"
LINKS_FILE = ".links" # ".lnx" if you like
DESC_FILE = ".description" # ".desc"
@@ -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/
@@ -36,16 +39,16 @@ class siteconfig(config):
# RSS Settings
rss_channel_config = {
- 'TITLE': "RSS Feed for example.net",
- 'LINK': "http://127.0.0.1:5000/",
- 'DESCRIPTION': "My example feed",
+ 'TITLE': "RSS Feed for mjfer.net",
+ 'LINK': "https://mjfer.net/",
+ 'DESCRIPTION': "",
'LANGUAGE': "en-us",
'PUBDATE': "",
'LASTBUILDDATE': "",
'DOCS': "https://git.mjfer.net/ezcms.git/",
'GENERATOR': "EZCMS",
- 'AUTHOR': "editor@example.net",
- 'WEBMASTER': "webmaster@example.net",
+ 'AUTHOR': "mjf@mjfer.net",
+ 'WEBMASTER': "mjf@mjfer.net",
# Max amount of paragraphs to print in each description
'DESCRIPTION_LENGTH': 3,
# File extensions to include in RSS updates