Styling voor code.overheid.nl
  • Go Template 73.4%
  • CSS 26.6%
Find a file
Sander van Thillo fad53641d7
fix: replace toJSON with JsonUtils.EncodeToString for v15/v16 compatibility
The base/head.tmpl override used `toJSON`, a template function that only
exists in the librekat Forgejo fork (the v16-dev build). Official Forgejo
has no `toJSON`, so the template failed to load on v15.0.3 with
"function \"toJSON\" not defined", crash-looping the pod at startup.

`JsonUtils.EncodeToString` is registered identically in both v15.0.3 and
the v16-dev build (modules/templates/util_json.go) and is the function
stock Forgejo itself uses for these data-* attributes. Switching to it
makes this template render on both v15 and v16, so the styling repo no
longer needs a per-version fork.
2026-06-12 10:36:36 +02:00
public/assets Update public/assets/css/codeoverheid.css 2026-04-30 11:59:44 +00:00
templates fix: replace toJSON with JsonUtils.EncodeToString for v15/v16 compatibility 2026-06-12 10:36:36 +02:00
.gitignore Dark mode update, bedankt underdark 2026-04-29 21:55:58 +02:00