Commit Graph
18 Commits
Author SHA1 Message Date
andwati 6b8b926730 added article "Self-Hosting Gitea and Automating GitHub Mirrors" 2026-08-19 10:37:55 +03:00
andwati e992baf2d2 Migrate templates to Zola 0.23 / Tera v2
bin/update-zola always installs the latest release, which as of
v0.23.0 rewrote the template engine to Tera v2. That broke the whole
site: removed filters (slice, concat, escape), test calls now require
named args, shortcodes are gone in favor of Tera components, and
content itself is now Tera-templated before markdown runs.

- slice(end=n) -> native [:n] slicing; concat(with=x) -> spread [...arr, x]
- escape -> escape_html; starting_with/containing -> named `pat` arg
- get_taxonomy_url `name` -> `term` (old name is deprecated)
- %+ date format no longer recognized; replaced with explicit RFC3339 pattern
- shortcodes (note/tip/warning/danger/youtube) rewritten as components;
  content call sites updated to component invocation syntax
- {% include %} no longer inherits for-loop-local variables (only ambient
  page/section context) - post-card.html converted to a component that
  takes page/index explicitly instead of relying on implicit `page`/`loop`
- two content code blocks with literal Jinja-style {{ }} syntax (Netlify
  CMS config, a Flask template snippet) wrapped in {% raw %} so Tera
  doesn't try to render them, since content is now templated too
- fixed a real content corruption bug along the way: the youtube
  shortcode's multi-line <iframe> tag had a conditional that could
  collapse to a whitespace-only line, which prematurely closed the
  HTML block under CommonMark rules and got the rest of the tag
  syntax-highlighted as code instead of rendered

Verified with a clean `zola build` and `zola serve` on v0.23.1, plus a
spot-check of the rendered HTML for both callouts and the video embed.
`zola check` only reports pre-existing external link rot, unrelated to
this change.
2026-08-07 10:46:09 +03:00
andwati 9917059437 add missing alt text, remove broken image links
15 screenshots in the ScriptCTF writeup had empty alt text. Also removed
two <img> references in the semver post pointing at files that never
existed in the repo (leftover from the old Netlify CMS media setup).
2026-07-17 15:59:46 +03:00
andwati 36d916e930 update author information from "mockingspectre" to "andwati" across multiple files 2026-07-16 16:41:56 +03:00
andwati fa83134413 updated to andwati.com 2026-07-02 21:34:28 +03:00
andwati 25c03231da fix space 2026-04-16 23:12:48 +03:00
andwati 630e7fa9a4 new article 2026-04-16 22:53:42 +03:00
andwati cac6ca890d fixed formatting 2026-04-08 23:32:05 +03:00
andwati efca88dacd publish article 2026-04-08 16:17:12 +03:00
andwati e31dbbb16c switched theme 2026-04-02 13:14:18 +03:00
andwati 0c26d89eae scriptctf publish 2025-08-18 08:52:13 +03:00
andwati 8a188943f1 scriptctf publish 2025-08-18 08:43:10 +03:00
andwati fc3ea8f58d scriptctf draft 2025-08-17 22:31:50 +03:00
andwati a8e28af9fa stylings 2025-08-06 12:34:16 +03:00
andwati a99eff511f edited blogs 2025-08-05 03:28:45 +03:00
andwati 64bfc4f439 edited blogs 2025-08-05 03:25:00 +03:00
andwati eb4fdaff78 init2 2025-08-04 23:41:17 +03:00
andwati a1f6a1fa6f init1 2025-08-04 23:27:49 +03:00