summaryrefslogtreecommitdiff
path: root/templates/macros (unfollow)
Commit message (Collapse)Author
2026-11-06Add reading time estimates to blog postsDennis Fink
This adds a project-local Lektor plugin that estimates reading time from article text and images, using NLTK for word tokenization and decreasing time weights for successive images. The plugin exposes a `reading_time` template function and displays the estimated reading time alongside other blog post metadata.
2026-11-04Normalize template formattingDennis Fink
This standardizes indentation and line wrapping across the 404 page, gallery, archive, category, and tag templates, and simplifies stylesheet declarations. It also replaces HTML entities with literal ellipsis characters in pagination controls.
2026-11-04Improve Pagefind indexing and filteringDennis Fink
This adds publication dates, categories, and tags to Pagefind metadata, enabling search results to be sorted by date and filtered by category or tag. It also excludes tables of contents, post metadata, and footer sections from search indexing to keep results focused on the actual article content.
2026-10-23Add email reply links to blog postsDennis Fink
This adds an email reply link to every blog post, allowing readers to respond directly with a prefilled subject line. The email address is encoded using HTML entities to discourage simple address harvesting. It also reorganizes the article footer into separate sections for tags, replies, and changelogs, with consistent typography and spacing.
2026-08-17Add post changelogsDennis Fink
This replaces the manual `updated_date` field with a changelog flow field so post updates can be recorded as dated entries. The blog template now derives the "Last updated" metadata from the latest changelog entry and renders the full changelog in the article footer, with dedicated styling for compact change notes.
2026-07-23Add GPX trail maps to blog postsDennis Fink
This adds a trail flow block so posts can include attached GPX files as interactive maps with route display, elevation charts, activity summaries, and start/finish markers. The trail assets are loaded only when needed, keeping the shared templates clean while vendoring the Leaflet dependencies required for offline, self-hosted map rendering.
2026-07-23Make article tags wrap like inline textDennis Fink
This moves the “Tagged with” label into the tag list itself, so the footer can wrap naturally like a paragraph instead of splitting the label and tags onto separate alignment contexts. The CSS now treats each tag item as inline text while keeping later items together, which avoids awkward line breaks after the label.
2026-07-14Add structured data and microformatsDennis Fink
This adds JSON-LD for the site, author, blog, and individual blog posts, so search engines and other consumers can understand the blog structure more clearly. It also adds Microformats2 classes to blog posts and the about page, keeping machine-readable author, post, category, date, and content data attached to the visible HTML.
2026-06-18Build the first usable version of the blogDennis Fink
This adds the Lektor project structure, models, templates, styling, feeds, categories, tags, archives, custom Markdown heading handling, and the initial content needed to make the blog usable.