Skip to content

Commit 0564949

Browse files
committed
fix(website): icon not showing
1 parent 2abd5af commit 0564949

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

website/docusaurus.config.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,23 @@ module.exports = {
1313
favicon: 'img/logo.svg',
1414
organizationName: 'yewstack', // Usually your GitHub org/user name.
1515
projectName: 'yew', // Usually your repo name.
16+
headTags: [
17+
{
18+
tagName: 'link',
19+
attributes: {
20+
rel: 'icon',
21+
href: '/favicon.ico',
22+
sizes: 'any',
23+
},
24+
},
25+
{
26+
tagName: 'link',
27+
attributes: {
28+
rel: 'apple-touch-icon',
29+
href: '/apple-touch-icon.png',
30+
},
31+
},
32+
],
1633
themeConfig: {
1734
colorMode: {
1835
respectPrefersColorScheme: true,
6.4 KB
Loading

website/static/favicon.ico

112 KB
Binary file not shown.

0 commit comments

Comments
 (0)