<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dennisfink.me/packages/gallery/lektor_gallery.py, branch main</title>
<subtitle>Source files of my personal blog.</subtitle>
<id>https://git.dennisfink.me/dennisfink.me/atom/packages/gallery/lektor_gallery.py?h=main</id>
<link rel='self' href='https://git.dennisfink.me/dennisfink.me/atom/packages/gallery/lektor_gallery.py?h=main'/>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/dennisfink.me/'/>
<updated>2026-08-09T13:35:22Z</updated>
<entry>
<title>Inline small gallery layout helpers</title>
<updated>2026-08-09T13:35:22Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-08-09T13:35:22Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/dennisfink.me/commit/?id=8a446413dc1f1c6adddc76f5335a91fe1fa0f810'/>
<id>urn:sha1:8a446413dc1f1c6adddc76f5335a91fe1fa0f810</id>
<content type='text'>
This removes two one-use helper functions from the gallery plugin and
inlines their simple calculations at the call sites.

The layout scoring and subset mask creation remain unchanged, but the
code is a little shorter and easier to follow.
</content>
</entry>
<entry>
<title>Add aspect-ratio-aware image galleries</title>
<updated>2026-08-08T17:32:47Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-08-08T17:32:47Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/dennisfink.me/commit/?id=1af817249d115ff7013d3ab1a30ea145e30924c7'/>
<id>urn:sha1:1af817249d115ff7013d3ab1a30ea145e30924c7</id>
<content type='text'>
This adds a project-local gallery plugin that builds deterministic rectangular
image layouts from attachment aspect ratios, with both in-process and disk-backed
layout caching.

It also adds gallery flow blocks, templates, and CSS so posts can include
responsive galleries with lazy-loaded images, configurable gaps, target ratios,
and the existing breakout/centering utilities.
</content>
</entry>
</feed>
