Skip to content

Commit ffc2045

Browse files
authored
Fixed favicon in docusaurus.config.js for github pages
1 parent 168fac7 commit ffc2045

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docusaurus.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const config = {
189189
attributes: {
190190
rel: 'icon',
191191
type: 'image/png',
192-
href: '/favicon/favicon-96x96.png',
192+
href: 'favicon/favicon-96x96.png',
193193
sizes: '96x96',
194194
},
195195
},
@@ -198,29 +198,29 @@ const config = {
198198
attributes: {
199199
rel: 'icon',
200200
type: 'image/svg+xml',
201-
href: '/favicon/favicon.svg',
201+
href: 'favicon/favicon.svg',
202202
},
203203
},
204204
{
205205
tagName: 'link',
206206
attributes: {
207207
rel: 'shortcut icon',
208-
href: '/favicon/favicon.ico',
208+
href: 'favicon/favicon.ico',
209209
},
210210
},
211211
{
212212
tagName: 'link',
213213
attributes: {
214214
rel: 'apple-touch-icon',
215215
sizes: '180x180',
216-
href: '/favicon/apple-touch-icon.png',
216+
href: 'favicon/apple-touch-icon.png',
217217
},
218218
},
219219
{
220220
tagName: 'link',
221221
attributes: {
222222
rel: 'manifest',
223-
href: '/favicon/site.webmanifest',
223+
href: 'favicon/site.webmanifest',
224224
},
225225
},
226226
{

0 commit comments

Comments
 (0)