ig.mtps.pl

The photos at ig.mtps.pl. This repo is only content and deployment; the site itself is folio.

Adding a photo

  1. Export it to photos/<slug>.jpg, about 2048px on the long edge, cropped however you like. The slug becomes the URL, /p/<slug>; starting it with the date (2026-10-12-tatry) keeps the folder sorted.
  2. Optionally add photos/<slug>.yml with a description, alt, taken or location. The format is in folio's README.
  3. Commit, then release: git tag v1.2.3 && git push --follow-tags.

The name, bio, link and avatar are in profile/.

Preview

cd ../folio && pnpm install && FOLIO_CONTENT=../ig.mtps.pl pnpm dev

Release and deploy

Pushing a v* tag runs .gitea/workflows/release.yml:

  1. It builds folio at FOLIO_REF (set in the workflow) against this repo's content, checks that no published image has EXIF location or time, and attaches ig.mtps.pl-<version>.tgz to a Gitea release.
  2. ygg/actions/static-publish@v2 uploads the same build straight to the ig.mtps.pl bucket.

To pick up folio changes, bump FOLIO_REF and tag a new release.

S
Description
Photos at ig.mtps.pl, built with mtps/folio
Readme
13 MiB
0 Stars 0 Watchers 0 Forks
v0.2.0
Latest
2026-10-20 16:03:40 +02:00