gitea/routers
wxiaoguang 31bb9f3247
Refactor more code in templates (#29236)
Follow #29165. 

* Introduce JSONTemplate to help to render JSON templates
* Introduce JSEscapeSafe for templates. Now only use `{{ ... |
JSEscape}}` instead of `{{ ... | JSEscape | Safe}}`
* Simplify "UserLocationMapURL" useage
2024-02-18 10:52:02 +01:00
..
api Refactor more code in templates (#29236) 2024-02-18 10:52:02 +01:00
common
install Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
private Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
utils Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
web Refactor more code in templates (#29236) 2024-02-18 10:52:02 +01:00
init.go