Styling voor code.overheid.nl
- Go Template 73.4%
- CSS 26.6%
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. |
||
|---|---|---|
| public/assets | ||
| templates | ||
| .gitignore | ||