ADD RSS config

This commit is contained in:
Caffeine Fueled 2025-10-28 12:09:52 +01:00
parent 8779ca5952
commit d88f2dac6b
Signed by: cf7
GPG key ID: CA295D643074C68C

View file

@ -2,6 +2,9 @@
BLOG_TITLE = "Ittavern.com" BLOG_TITLE = "Ittavern.com"
BLOG_DESCRIPTION = "Sysadmin doing syadmin stuff" BLOG_DESCRIPTION = "Sysadmin doing syadmin stuff"
BASE_URL = "https://ittavern.com" # Your site's base URL (no trailing slash)
AUTHOR_NAME = "cf7"
AUTHOR_EMAIL = "hello@ittavern.com" # Optional
THEME = "tavern" THEME = "tavern"
# Exclude specific feeds from the main page (they'll still have their own /feed/name/ pages) # Exclude specific feeds from the main page (they'll still have their own /feed/name/ pages)
@ -12,7 +15,8 @@ NAVBAR_ITEMS = [
{'text': 'Articles', 'url': '/'}, {'text': 'Articles', 'url': '/'},
{'text': 'Tools', 'url': '/tools/'}, {'text': 'Tools', 'url': '/tools/'},
{'text': 'Feeds', 'url': '/feed/'}, {'text': 'Feeds', 'url': '/feed/'},
{'text': 'About', 'url': '/about/'} {'text': 'About', 'url': '/about/'},
{'text': 'RSS', 'url': '/rss.xml'}
] ]
# Logo settings # Logo settings
@ -20,3 +24,8 @@ HIDE_LOGO = False
HIDE_TITLE = True HIDE_TITLE = True
LOGO_PATH = "/images/logo.png" LOGO_PATH = "/images/logo.png"
# Feed settings
ENABLE_RSS_FEED = True
RSS_FEED_PATH = "rss.xml" # Path relative to site root (e.g., "rss.xml" or "feed/rss.xml")
FEED_MAX_ITEMS = 200 # Maximum number of items to include in feeds