forgejo/templates
silverwind 9269a038a4
Direct avatar rendering (#13649)
* Direct avatar rendering

This adds new template helpers for avatar rendering which output image
elements with direct links to avatars which makes them cacheable by the
browsers.

This should be a major performance improvment for pages with many avatars.

* fix avatars of other user's profile pages

* fix top border on user avatar name

* uncircle avatars

* remove old incomplete avatar selector

* use title attribute for name and add it back on blame

* minor refactor

* tweak comments

* fix url path join and adjust test to new result

* dedupe functions
2020-12-03 19:46:11 +01:00
..
admin Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
base Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
mail Add email notify for new release (#12463) 2020-08-23 16:03:18 +01:00
org Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
pwa Reindent manifest.json (#13544) 2020-11-13 12:23:22 -05:00
repo Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
shared Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
status Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
swagger Expose default theme in meta and API (#13809) 2020-12-03 13:53:21 +01:00
user Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
home.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
install.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
post-install.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00