sections

This commit is contained in:
mi
2025-11-14 15:53:17 +10:00
parent 7a9f64ee17
commit 04cd72b8d8
4 changed files with 87 additions and 21 deletions

View File

@@ -48,6 +48,10 @@ COMPACT_FOOTER = False
# Full-width archive shows square thumbnails with only dates, no titles
ARCHIVE_FULL_WIDTH = True
# Global setting: Set to True to enable sections/chapters on the archive page
# Add 'section': 'Chapter Title' to comics where a new section starts
SECTIONS_ENABLED = 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
@@ -80,6 +84,7 @@ COMICS = [
'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
'section': 'Chapter 1: The Beginning', # Optional: start a new section on archive page
},
{
'number': 2,