gitea/modules/templates
wxiaoguang 5f39285d6d
Improve RunMode / dev mode (#24886)
1. non-dev mode is treated as prod mode, to protect users from
accidentally running in dev mode if there is a typo in this value.
2. in dev mode, do not need to really exit if there are template errors,
because the template errors could be fixed by developer soon and the
templates get reloaded, help:
* https://github.com/go-gitea/gitea/issues/24845#issuecomment-1557615382
3. Fine tune the mail template loading message.
2023-05-25 03:47:30 +00:00
..
eval
scopedtmpl
vars
base.go
dynamic.go
helper.go
helper_test.go
htmlrenderer.go Improve RunMode / dev mode (#24886) 2023-05-25 03:47:30 +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
util_dict.go
util_json.go
util_misc.go
util_render.go
util_slice.go
util_string.go
util_test.go