spots-page-generator

A pip-installable Python package with a CLI: a umap file plus one TOML config in, a filterable spots overview page and per-spot share pages out, rendered into your own page shell, with the CSS and JS it needs. Built for parkour-augsburg.de/spots/, where the same generator runs in production.

pip install git+https://gitlab.com/parkour-augsburg/spots-page-generator@v1.0.0
generate-spots-page spots.umap --config spots.toml --out public

Example pages

All generated by the CI of this repository from the two samples in samples/.

  1. augsburg: the Augsburg data, default shell, shipped CSS.
  2. augsburg-alt-theme: the same with only spots-theme.css swapped.
  3. minimal: a hand-written umap with five spots and a two-line config; even that is a useful page.
  4. augsburg-custom-blocks: an overriding shell and two overridden blocks change the HTML structure.
  5. augsburg-minimal-blocks: toc, filter, search and cooking mode switched off.
  6. augsburg-unthemed: core + layout CSS only, plain but usable.
  7. augsburg-core-only: core CSS only, ugly but working.

The photos on the Augsburg examples load from the live site.

Links