embed support

This commit is contained in:
mi
2025-11-18 13:40:52 +10:00
parent d374df6b0b
commit 882eed90f9
5 changed files with 58 additions and 16 deletions

View File

@@ -6,7 +6,7 @@
# REQUIRED: Sequential comic number
number: 999
# REQUIRED: Image filename(s) in static/images/comics/
# REQUIRED (unless using html_embed): Image filename(s) in static/images/comics/
# Single image:
filename: comic-999.jpg
# OR multi-image (webtoon style):
@@ -18,6 +18,12 @@ filename: comic-999.jpg
# Optional: Mobile-optimized version of the comic
# mobile_filename: comic-999-mobile.jpg
# Optional: HTML embed instead of image
# Use this to embed videos, widgets, or other HTML content
# When set, this takes precedence over filename/mobile_filename
# Example: '<iframe src="https://www.youtube.com/embed/..." width="560" height="315"></iframe>'
# html_embed: '<div>Your custom HTML here</div>'
# REQUIRED: Publication date (YYYY-MM-DD format)
date: "2025-01-01"