31 lines
1,010 B
Python
31 lines
1,010 B
Python
"""Configuration file for picopaper blog"""
|
|
|
|
# General site settings
|
|
BLOG_TITLE = "PicoPaper.com"
|
|
BLOG_DESCRIPTION = "we like simple."
|
|
BASE_URL = "https://picopaper.com" # Your site's base URL (no trailing slash)
|
|
AUTHOR_NAME = "PicoPaper"
|
|
AUTHOR_EMAIL = "hello@picopaper.com" # Optional
|
|
THEME = "default"
|
|
|
|
# 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': 'Home', 'url': '/'},
|
|
{'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 = 20 # Maximum number of items to include in feeds
|
|
|