forgejo/templates/base
silverwind 3a21f8a986
Inline manifest.json (#14038)
* Inline manifest.json

Improve performance by eliminating this separate request and just inline
this small JSON in HTML directly as a data uri.

Also update previously static app name scripts to use AppName.

I've confirmed this as working via "Add to Homescreen" feature which
offered to save the shortcut under the new app name.

* prerender manifest data on startup

* move to settings

* restore setting.AppStartTime and use it on admin page

* use double quotes because template.URL escapes everything

* fix lint

* move variable to global context variable

* delete template file

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
2020-12-22 19:13:50 +08:00
..
alert.tmpl Return the full rejection message and errors in flash errors (#13221) 2020-10-20 19:50:10 -04:00
alert_details.tmpl Return the full rejection message and errors in flash errors (#13221) 2020-10-20 19:50:10 -04:00
delete_modal_actions.tmpl Replace footer and modal icons with SVG (#13245) 2020-10-21 22:07:33 +01:00
footer.tmpl Enable linting of JS inside templates (#13708) 2020-11-28 01:01:33 +02:00
footer_content.tmpl Replace footer and modal icons with SVG (#13245) 2020-10-21 22:07:33 +01:00
head.tmpl Inline manifest.json (#14038) 2020-12-22 19:13:50 +08:00
head_navbar.tmpl Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
paginate.tmpl Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00