| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-05-16 | Fix | Paul Buetow | |
| 2026-04-26 | Add template::dynamic directive for always-regenerate templates | Paul Buetow | |
| Templates that fetch data from external sources (e.g. via curl) need to bypass the mtime-based freshness check. Adding << template::dynamic to a .gmi.tpl file marks it for regeneration on every run without affecting the generated output. Amp-Thread-ID: https://ampcode.com/threads/T-019dca93-8625-7134-bd59-8fc52e3a4b9c Co-authored-by: Amp <amp@ampcode.com> | |||
| 2026-03-01 | Extract generate::extract_title helper to eliminate duplication | Paul Buetow | |
| Title extraction ($SED pattern + quote sanitization) was duplicated in generate, atomfeed, gemfeed, notes, and template modules. Now centralized with unit tests for heading extraction and empty files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | |||
| 2026-03-01 | Add error context to eval-based template processing | Paul Buetow | |
| Template eval failures now log the template file path and the failing code block/line, making it much easier to debug syntax errors in .gmi.tpl templates. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | |||
| 2026-03-01 | Extract generate::safe_overwrite helper to eliminate DRY violation | Paul Buetow | |
| The "safe overwrite" pattern (diff -q tmp dest, then rm or mv) was duplicated in template, gemfeed (2x), and notes modules. Extracted into a shared helper with unit tests covering all three cases (no dest, identical dest, differing dest). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | |||
| 2026-02-15 | Improve --generate performance with incremental builds (62s -> 2s) | Paul Buetow | |
| Add mtime-based skip logic to avoid regenerating unchanged files: - generate::fromgmi skips .gmi files where all outputs are newer - template::_generate_file skips templates when output is fresh - Diff-before-overwrite in templates, gemfeed, and notes indexes to preserve mtimes and prevent cascading cache invalidation - Global dependency check (.lastgen sentinel) for header/footer/CSS - Job throttling via wait -n capped at nproc cores - Add --force flag and FORCE_REBUILD env var to bypass skip logic - Fix misleading atom feed "empty cache" log message Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | |||
| 2025-08-05 | fix bare blocks so lines in there can start with [[ | Paul Buetow | |
| 2025-07-09 | feat: auto-detect language for source-highlight | Paul Buetow | |
| 2025-02-02 | swap | Paul Buetow | |
| 2025-02-02 | intro of rindex inline template | Paul Buetow | |
| 2024-12-30 | fix toc when there are tags in them | Paul Buetow | |
| 2024-08-26 | typo | Paul Buetow | |
| 2024-08-26 | fix | Paul Buetow | |
| 2024-08-26 | add ToC suggester | Paul Buetow | |
| 2024-08-24 | change toc format and fix a bug | Paul Buetow | |
| 2024-08-24 | initial atom.xml fixes | Paul Buetow | |
| 2024-08-24 | nicer ToC for HTML | Paul Buetow | |
| 2024-04-30 | add id's to the headers in html, for ToC references later | Paul Buetow | |
| 2024-04-21 | ignore bare blocks for toc generation | Paul Buetow | |
| 2024-04-21 | fix | Paul Buetow | |
| 2024-04-21 | add TOC generator to the templating engine. | Paul Buetow | |
| 2024-03-30 | inline index is case-insensitive | Paul Buetow | |
| 2023-08-19 | change inline template sorting | Paul Buetow | |
| 2023-03-25 | also add publishing date to .tpl posts | Paul Buetow | |
| 2023-03-25 | draft also generates .gmi files from draft templates | Paul Buetow | |
| 2023-03-25 | can also use "<< <<< and >>>" from templates themselves | Paul Buetow | |
| 2023-03-25 | exclude draft | Paul Buetow | |
| 2023-03-24 | can specify multiple index topics for template::inline::index | Paul Buetow | |
| 2023-03-24 | add template::index | Paul Buetow | |
| 2023-03-20 | Hallo should be Hello! | Paul Buetow | |
| 2023-03-20 | fix evil eval | Paul Buetow | |
| 2023-03-20 | reset block after use | Paul Buetow | |
| 2023-03-20 | add support for multiline template | Paul Buetow | |
| 2023-03-15 | fix cache bug | Paul Buetow | |
| 2023-03-15 | initial templating support | Paul Buetow | |
