31 lines
1 KiB
Python
31 lines
1 KiB
Python
"""Configuration file for picopaper blog"""
|
|
|
|
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)
|
|
EXCLUDE_FEEDS_FROM_MAIN = ['draft','private'] # e.g., ['python', 'drafts']
|
|
|
|
# Navigation bar items - list of dictionaries with 'text' and 'url' keys
|
|
NAVBAR_ITEMS = [
|
|
{'text': 'Articles', 'url': '/'},
|
|
{'text': 'Tools', 'url': '/tools/'},
|
|
{'text': 'Feeds', 'url': '/feed/'},
|
|
{'text': 'About', 'url': '/about/'},
|
|
{'text': 'RSS', 'url': '/rss.xml'}
|
|
]
|
|
|
|
# Logo settings
|
|
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
|
|
|