🔍 sitemap

This commit is contained in:
mi
2025-11-15 14:46:49 +10:00
parent fcb38e593c
commit b23f2399c4
4 changed files with 104 additions and 1 deletions

View File

@@ -32,6 +32,12 @@ python scripts/generate_rss.py
```
Run this after adding/updating comics to regenerate `static/feed.rss`.
**Generate sitemap:**
```bash
python scripts/generate_sitemap.py
```
Run this after adding/updating comics to regenerate `static/sitemap.xml` for search engines.
## Architecture
### Data Layer: comics_data.py
@@ -134,6 +140,7 @@ Global context variables injected into all templates:
- `static/images/icons/`: Navigation icons (first.png, previous.png, next.png, latest.png) used when `USE_ICON_NAV` is True
- `static/images/`: Header images and other site graphics
- `static/feed.rss`: Generated RSS feed (run `scripts/generate_rss.py`)
- `static/sitemap.xml`: Generated sitemap (run `scripts/generate_sitemap.py`)
## Important Implementation Details