Skip to content

Commit 0ab5d4f

Browse files
authored
Favicons (#140)
* Configure favicons #104
1 parent 37ad164 commit 0ab5d4f

File tree

8 files changed

+6
-5
lines changed

8 files changed

+6
-5
lines changed

server/config/default.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ html:
5757
width: 112
5858
height: 18
5959
alt: "sitespeed.io logo"
60+
favicon-180:
61+
path: /img/ico/sitespeed.io-180.png
62+
favicon-32:
63+
path: /img/ico/sitespeed.io-32.png
6064
## Setup a folder that will be mapped to /extras - use this of you want to change
6165
## the current look and feel
6266
extras:
-5.1 KB
Binary file not shown.
-7.08 KB
Binary file not shown.
14.7 KB
Loading
1.62 KB
Loading
-2.71 KB
Binary file not shown.
-6.37 KB
Binary file not shown.

server/views/includes/head.pug

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ link(rel='stylesheet' href='/css/bulma-checkradio.min.css')
66
link(rel='stylesheet' href='/css/extra.css')
77
if (nconf.get('html:css:override'))
88
link(rel='stylesheet' href=nconf.get('html:css:override'))
9-
link(rel='apple-touch-icon-precomposed' sizes='144x144' href='/img/ico/sitespeed.io-144.png')
10-
link(rel='apple-touch-icon-precomposed' sizes='114x114' href='/img/ico/sitespeed.io-114.png')
11-
link(rel='apple-touch-icon-precomposed' sizes='72x72' href='/img/ico/sitespeed.io-72.png')
12-
link(rel='apple-touch-icon-precomposed' href='/img/ico/sitespeed.io-57.png')
13-
link(rel='shortcut icon' href='/img/ico/sitespeed.io.ico')
9+
link(rel='apple-touch-icon' sizes='180x180' href=nconf.get('html:favicon-180:path'))
10+
link(rel='icon' type='image/png' sizes='32x32' href=nconf.get('html:favicon-32:path'))
1411
meta(name='description' content=description)
1512
meta(name='keywords' content='sitespeed.io, wpo, webperf, perfmatters, performance')

0 commit comments

Comments
 (0)