forgejo-federation/modules/templates
silverwind cc129d2ca2
Make AvatarRenderedSizeFactor configurable and set it to 3 (#17951)
Save a bit of bandwidth by only requesting 3-times the rendered avatar
size. Factor 4 is only really beneficial on a handful of mobile phones
and I don't think they are the primary device we design for.

Configurability contributed by zeripath.

Fixes: https://github.com/go-gitea/gitea/pull/17422
Fixes: https://github.com/go-gitea/gitea/issues/16287

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2021-12-16 10:18:38 +08:00
..
base.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
dynamic.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
helper.go Make AvatarRenderedSizeFactor configurable and set it to 3 (#17951) 2021-12-16 10:18:38 +08:00
helper_test.go Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
static.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
templates_bindata.go Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00