forgejo/modules/templates
wxiaoguang a370efc13f
Use template context function for avatar rendering (#26385)
Introduce `AvatarUtils`, no need to pass `$.Context` to every
sub-template, and simplify the template helper functions.
2023-08-10 11:19:39 +08:00
..
eval
scopedtmpl Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
vars
base.go Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
dynamic.go
helper.go Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
helper_test.go
htmlrenderer.go Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
htmlrenderer_test.go
mailer.go Improve RunMode / dev mode (#24886) 2023-05-25 03:47:30 +00:00
static.go
templates_bindata.go
util_avatar.go Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
util_dict.go
util_json.go
util_misc.go Refactor "editorconfig" (#26391) 2023-08-08 10:44:19 +00:00
util_render.go Fix missing commit message body when the message has leading newlines (#25418) 2023-06-21 09:14:34 +00:00
util_render_test.go Fix missing commit message body when the message has leading newlines (#25418) 2023-06-21 09:14:34 +00:00
util_slice.go
util_string.go
util_test.go