ADD RSS config
This commit is contained in:
parent
8779ca5952
commit
d88f2dac6b
1 changed files with 10 additions and 1 deletions
11
config.py
11
config.py
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
BLOG_TITLE = "Ittavern.com"
|
||||
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"
|
||||
|
||||
# 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': 'Tools', 'url': '/tools/'},
|
||||
{'text': 'Feeds', 'url': '/feed/'},
|
||||
{'text': 'About', 'url': '/about/'}
|
||||
{'text': 'About', 'url': '/about/'},
|
||||
{'text': 'RSS', 'url': '/rss.xml'}
|
||||
]
|
||||
|
||||
# Logo settings
|
||||
|
|
@ -20,3 +24,8 @@ HIDE_LOGO = False
|
|||
HIDE_TITLE = True
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue