63 lines
2.2 KiB
Python
63 lines
2.2 KiB
Python
# Comic data
|
|
# Edit this file to add, remove, or modify comics
|
|
|
|
# Global setting: Set to True to make all comics full-width by default
|
|
# Individual comics can override this with 'full_width': False
|
|
FULL_WIDTH_DEFAULT = False
|
|
|
|
# Global setting: Set to True to hide header and remove nav border by default
|
|
# Individual comics can override this with 'plain': False
|
|
PLAIN_DEFAULT = False
|
|
|
|
# Global setting: Path to header image (relative to static/images/)
|
|
# Set to None to disable header image
|
|
# Example: HEADER_IMAGE = 'title.jpg' will use static/images/title.jpg
|
|
HEADER_IMAGE = 'title.png'
|
|
|
|
# Global setting: Path to footer image (relative to static/images/)
|
|
# Set to None to disable footer image
|
|
# Example: FOOTER_IMAGE = 'footer.jpg' will use static/images/footer.jpg
|
|
FOOTER_IMAGE = None # 'footer.jpg'
|
|
|
|
# Global setting: Set to True to display footer in compact mode
|
|
# Compact mode: single line, no border, horizontal layout
|
|
COMPACT_FOOTER = True
|
|
|
|
# Global setting: Set to True to use icon images for comic navigation buttons
|
|
# Icons should be in static/images/icons/ (first.png, previous.png, next.png, latest.png)
|
|
USE_COMIC_NAV_ICONS = True
|
|
|
|
# Global setting: Set to True to show icons next to main header navigation text
|
|
# Uses alert.png for Latest, archive.png for Archive, info.png for About
|
|
USE_HEADER_NAV_ICONS = True
|
|
|
|
COMICS = [
|
|
{
|
|
'number': 1,
|
|
'title': 'First Comic',
|
|
'filename': 'comic-001.jpg',
|
|
'mobile_filename': 'comic-001-mobile.jpg', # Optional: mobile version of the comic
|
|
'date': '2025-01-01',
|
|
'alt_text': 'The very first comic',
|
|
'author_note': 'This is where your comic journey begins!',
|
|
'full_width': True, # Optional: override FULL_WIDTH_DEFAULT for this comic
|
|
'plain': True, # Optional: override PLAIN_DEFAULT for this comic
|
|
},
|
|
{
|
|
'number': 2,
|
|
'filename': 'comic-002.jpg',
|
|
'date': '2025-01-08',
|
|
'alt_text': 'The second comic',
|
|
'full_width': True,
|
|
'plain': True,
|
|
},
|
|
{
|
|
'number': 3,
|
|
'title': 'Third Comic',
|
|
'filename': 'comic-003.jpg',
|
|
'date': '2025-01-15',
|
|
'alt_text': 'The third comic',
|
|
'author_note': 'Things are getting interesting!',
|
|
},
|
|
]
|