Small static blog generator
- Python 100%
|
All checks were successful
/ test (push) Successful in 1m17s
- Deduplicate <title> when page title equals site name - Canonical for home page uses / not /index.html - Demote body headings (h1→h2 etc.) on post/article pages to avoid multiple h1s clashing with the template-injected title heading - Add h1 from title on auto_index pages (blog/articles index had none) - Add author to BlogPosting/Article JSON-LD structured data - Add article:published_time OG meta tag on posts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .forgejo/workflows | ||
| src/dialann | ||
| test | ||
| .gitignore | ||
| CLAUDE.md | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
dialann
Static site generator for jmsgrogan.com.
Install
python -m venv .venv && source .venv/bin/activate
pip install .
Usage
Run from the site's src/ directory:
dialann --build_dir /path/to/output
Development
pip install -e ".[dev]"
tox -e py
Versioning
Versions are tagged automatically by CI on merge to main (patch bump).
For minor or major bumps, trigger workflow_dispatch in Forgejo with bump=minor or bump=major.