diff options
author | silverwind <me@silverwind.io> | 2021-01-01 20:04:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-01 14:04:35 -0500 |
commit | 1bf7d71a0a82bc19945bc816df57b8ad61bdace4 (patch) | |
tree | 012d2f4060785956d46ef3f0a4b4a2678f46801e /templates/base/head.tmpl | |
parent | 21adeaad70ba2386673e00e69147b1cc40551b76 (diff) | |
download | gitea-1bf7d71a0a82bc19945bc816df57b8ad61bdace4.tar.gz gitea-1bf7d71a0a82bc19945bc816df57b8ad61bdace4.zip |
Consolidate Logos and update README header (#14136)
* Consolidate Logos and update README header
- Remove unused `logo-lg.png`, `logo-sm.png` and `logo-192.png`.
- Consolidate `favicon.svg` and `logo.svg` to just `logo.svg`.
- Remove Safari Mask icon, it seems to work fine with just `favicon.png` (no SVG support).
- Remove Fluid Icon. It only served Firefox and SVG works just fine there.
- Update customization instructions.
- Update README.md to use SVG icon, increase logo size and center it and badges.
* Update README_ZH.md
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Update README_ZH.md
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/base/head.tmpl')
-rw-r--r-- | templates/base/head.tmpl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 32660df6bb..3c2371f0e9 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -62,10 +62,8 @@ {{end}} }; </script> - <link rel="icon" href="{{StaticUrlPrefix}}/img/favicon.svg" type="image/svg+xml"> + <link rel="icon" href="{{StaticUrlPrefix}}/img/logo.svg" type="image/svg+xml"> <link rel="alternate icon" href="{{StaticUrlPrefix}}/img/favicon.png" type="image/png"> - <link rel="mask-icon" href="{{StaticUrlPrefix}}/img/logo-safari.svg" color="#609926"> - <link rel="fluid-icon" href="{{StaticUrlPrefix}}/img/logo-lg.png" title="{{AppName}}"> {{if .RequireSimpleMDE}} <link rel="stylesheet" href="{{StaticUrlPrefix}}/css/easymde.css?v={{MD5 AppVer}}"> {{end}} @@ -108,7 +106,7 @@ {{else}} <meta property="og:title" content="{{AppName}}"> <meta property="og:type" content="website" /> - <meta property="og:image" content="{{StaticUrlPrefix}}/img/logo-lg.png" /> + <meta property="og:image" content="{{StaticUrlPrefix}}/img/logo.png" /> <meta property="og:url" content="{{AppUrl}}" /> <meta property="og:description" content="{{MetaDescription}}"> {{end}} |