diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | public/img/apple-touch-icon.png | bin | 0 -> 8430 bytes | |||
-rw-r--r-- | templates/base/head.tmpl | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -545,6 +545,8 @@ generate-images: convert $(TMPDIR)/images/16.png $(TMPDIR)/images/32.png \ $(TMPDIR)/images/64.png $(TMPDIR)/images/128.png \ $(PWD)/public/img/favicon.ico + convert $(PWD)/public/img/favicon.png -fill white -opaque none $(PWD)/public/img/apple-touch-icon.png + rm -rf $(TMPDIR)/images $(foreach file, $(shell find public/img -type f -name '*.png'),zopflipng -m -y $(file) $(file);) diff --git a/public/img/apple-touch-icon.png b/public/img/apple-touch-icon.png Binary files differnew file mode 100644 index 0000000000..6cf87e0f3a --- /dev/null +++ b/public/img/apple-touch-icon.png diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 496e2e67af..440dd3e5e2 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -95,7 +95,7 @@ }; </script> <link rel="shortcut icon" href="{{StaticUrlPrefix}}/img/favicon.png"> - <link rel="apple-touch-icon" href="{{StaticUrlPrefix}}/img/favicon.png"> + <link rel="apple-touch-icon" href="{{StaticUrlPrefix}}/img/apple-touch-icon.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"> |