Commit Graph

6 Commits

Author SHA1 Message Date
orangix
e241d35efe move sanitization code out of api package 2026-01-25 06:25:21 +01:00
orangix
02be603dcc refactor api package comments
* use encoding/json for comment parsing

* refactor by moving loop code to an UnmarshalJSON

* use a preallocated array and indices to maintain order while using
  goroutines again, this was removed a while ago

* use new struct in comment.hbs and contextComment.hbs

* rewriteUrl partial to reduce rimgo-specific code in api

* move RenderError into pages package to avoid import cycle between render and utils
2026-01-25 06:08:28 +01:00
orangix
cd4a36c9f7 port most routes 2026-01-19 19:11:01 +01:00
orangix
04fbc7f5f4 fix embed handling 2026-01-19 17:26:45 +01:00
orangix
189ebeefde add noteq 2026-01-19 17:08:15 +01:00
orangix
3f40c25b04 port template engine 2026-01-19 05:43:04 +01:00