summaryrefslogtreecommitdiff
path: root/templates/macros (follow)
Commit message (Collapse)AuthorAge
* Add reading time estimates to blog postsDennis Fink2026-11-06
| | | | | | | | | 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.
* Normalize template formattingDennis Fink2026-11-04
| | | | | | | | | 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.
* Improve Pagefind indexing and filteringDennis Fink2026-11-04
| | | | | | | | | | 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.
* Add email reply links to blog postsDennis Fink2026-10-23
| | | | | | | | | 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.
* Add post changelogsDennis Fink2026-08-17
| | | | | | | | | 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.
* Add GPX trail maps to blog postsDennis Fink2026-07-23
| | | | | | | | | | 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.
* Make article tags wrap like inline textDennis Fink2026-07-23
| | | | | | | | | 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.
* Add structured data and microformatsDennis Fink2026-07-14
| | | | | | | | | | 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.
* Build the first usable version of the blogDennis Fink2026-06-18
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.