Introduce `AvatarUtils`, no need to pass `$.Context` to every sub-template, and simplify the template helper functions.
templates/projects/list.tmpl
templates/repo/projects/list.tmpl