35 lines
1.3 KiB
Python
35 lines
1.3 KiB
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 sections from the main page (they'll still have their own /section/name/ pages)
|
|
EXCLUDE_SECTIONS_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': 'Sections', 'url': '/section/'},
|
|
{'text': 'About', 'url': '/about/'},
|
|
{'text': 'RSS', 'url': '/rss.xml'}
|
|
]
|
|
|
|
# Path settings
|
|
BLOGROLL_PATH = "" # Path for the blog roll, e.g. "" (root) or "articles"
|
|
ROOT_PAGE = "" # Slug of a page item to use as root index, e.g. "home" (leave empty to use blogroll) - example "home" for "items/2026-01-01_page_home.md"
|
|
|
|
# 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
|
|
|