also declare 192x192 rel icon

pull/5713/head
Niklas Fiekas 2019-12-02 10:54:06 +01:00
parent 5a43758f28
commit 03580d3028
5 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ object layout {
private val jsLicense = raw("""<link rel="jslicense" href="/source">""")
private val favicons = raw {
List(512, 256, 128, 64) map { px =>
List(512, 256, 192, 128, 64) map { px =>
s"""<link rel="icon" type="image/png" href="${staticUrl(s"logo/lichess-favicon-$px.png")}" sizes="${px}x${px}">"""
} mkString ("", "", s"""<link id="favicon" rel="icon" type="image/png" href="${staticUrl("logo/lichess-favicon-32.png")}" sizes="32x32">""")
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB