summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-06-03Add white-space: pre-wrap to all theme pre blocks to prevent horizontal ↵mainPaul Buetow
scrollbars
2026-05-16FixPaul Buetow
2026-04-30Update default HTML theme spacingPaul Buetow
2026-04-26Fix header bar alignment with negative marginsPaul Buetow
Amp-Thread-ID: https://ampcode.com/threads/T-019dcaa2-5f1d-741b-a826-9658670634fb Co-authored-by: Amp <amp@ampcode.com>
2026-04-26Add dark header bar to default themePaul Buetow
Amp-Thread-ID: https://ampcode.com/threads/T-019dcaa2-5f1d-741b-a826-9658670634fb Co-authored-by: Amp <amp@ampcode.com>
2026-04-26Add font preview HTML for all available web fontsPaul Buetow
Amp-Thread-ID: https://ampcode.com/threads/T-019dcaa2-5f1d-741b-a826-9658670634fb Co-authored-by: Amp <amp@ampcode.com>
2026-04-26Add template::dynamic directive for always-regenerate templatesPaul 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-04-18Add link to street photography site in headerPaul Buetow
2026-04-18themes: add classic theme (original default) and redesign defaultPaul Buetow
The original default theme (checkered background, purple/blue palette, rounded thick border) is preserved as the new 'classic' theme. The default theme is replaced with a cleaner, more professional design: indigo accent colour, top border bar, card shadow, better typography and code block styling, wider at 1100px max-width. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10rename to microblogPaul Buetow
2026-04-09add link to microblogPaul Buetow
2026-03-12atomfeed: clean up stale .xml.tmp files on fresh run instead of panickingPaul Buetow
When xmllint fails, the .xml.tmp file is kept for investigation. On the next --generate run, atomfeed::verify now warns and removes stale .xml.tmp files instead of panicking. Amp-Thread-ID: https://ampcode.com/threads/T-019ce359-d9d5-7119-8035-c635724c1047 Co-authored-by: Amp <amp@ampcode.com>
2026-03-08use new themedevelopPaul Buetow
2026-03-01Replace set +u/set -u toggle with ${VAR:-} in html::theme::webfontsPaul Buetow
Using ${VAR:-} for potentially unset webfont variables keeps strict mode (set -u) active throughout the function, preventing silent bugs from unset variables in other parts of the code. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01Move atom-to-HTML conversion from generate to atomfeed modulePaul Buetow
generate::convert_gmi_atom_to_html_atom was atom feed logic that belonged in the atomfeed module. Renamed to atomfeed::convert_to_html and simplified by removing the format parameter (always HTML). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01Extract generate::extract_title helper to eliminate duplicationPaul 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-01Remove leftover debug log from notes::generatePaul Buetow
The 'Hello world' log line was leftover debug output that appeared on every generation run. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01Add error context to eval-based template processingPaul 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-01Extract generate::safe_overwrite helper to eliminate DRY violationPaul 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-15Improve --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-12-31Merge remote-tracking branch 'codeberg_org/main'Paul Buetow
2025-12-29remove agents, change default stylePaul Buetow
2025-12-07remove agentsPaul Buetow
2025-12-06Fix draft HTML generation for files with unsupported source-highlight languagesPaul Buetow
- Add .tmp to exclusion pattern in cleanup to prevent race condition - Gracefully fallback to plain <pre> when source-highlight fails (e.g., yaml)
2025-11-06add 2025Paul Buetow
2025-11-03add filter helpPaul Buetow
2025-08-31fixPaul Buetow
2025-08-05fix bare blocks so lines in there can start with [[Paul Buetow
2025-07-09AUTO not yet supportedPaul Buetow
2025-07-09fix: unbound variable in html::source_highlightPaul Buetow
2025-07-09fix: unbound variable in html::source_highlightPaul Buetow
2025-07-09feat: auto-detect language for source-highlightPaul Buetow
2025-06-11add ideaPaul Buetow
2025-05-26debugPaul Buetow
2025-05-04add svg to img patternPaul Buetow
2025-02-12add word wrap to more stylesPaul Buetow
2025-02-12auto wrap stylePaul Buetow
2025-02-07shorten headerPaul Buetow
2025-02-02swapPaul Buetow
2025-02-02intro of rindex inline templatePaul Buetow
2025-02-02add go to home linkPaul Buetow
2025-01-19use gemini as link textPaul Buetow
2025-01-04use a background patternPaul Buetow
2025-01-04refinePaul Buetow
2025-01-04add new themePaul Buetow
2024-12-30fix toc when there are tags in themPaul Buetow
2024-12-30add retrosimple themePaul Buetow
2024-12-30refine themePaul Buetow
2024-12-29fix --test (ShellSheck)Paul Buetow
2024-12-29add links to Markdown and Gemtext versions of this page on the page headersPaul Buetow