ADD RSS feed and config - seems valid #6
This commit is contained in:
parent
375eb6fb05
commit
e31624d03a
3 changed files with 104 additions and 5 deletions
11
config.py
11
config.py
|
|
@ -1,7 +1,11 @@
|
|||
"""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)
|
||||
|
|
@ -17,5 +21,10 @@ NAVBAR_ITEMS = [
|
|||
# Logo settings
|
||||
HIDE_LOGO = False
|
||||
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 = 20 # Maximum number of items to include in feeds
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue