aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-01-27 06:10:57 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2020-01-27 13:10:57 +0800
commit03cb168127c0139490857be344a78fd37d46e804 (patch)
treed484741fabd41fd6b9dd4314df87019662311299
parent48abe41ea82f88235bd6a6a66f6a2d1701215b84 (diff)
downloadgitea-03cb168127c0139490857be344a78fd37d46e804.tar.gz
gitea-03cb168127c0139490857be344a78fd37d46e804.zip
add apple-touch-icon (#10006)
fixes: https://github.com/go-gitea/gitea/issues/10003 Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
-rw-r--r--templates/base/head.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index e3f48f7748..0e7fc3c534 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -83,7 +83,8 @@
for the JavaScript code in this page.
*/`}}
</script>
- <link rel="shortcut icon" href="{{StaticUrlPrefix}}/img/favicon.png" />
+ <link rel="shortcut icon" href="{{StaticUrlPrefix}}/img/favicon.png">
+ <link rel="apple-touch-icon" href="{{StaticUrlPrefix}}/img/favicon.png">
<link rel="mask-icon" href="{{StaticUrlPrefix}}/img/gitea-safari.svg" color="#609926">
<link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/assets/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/assets/octicons/octicons.min.css">