Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 53 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,59 @@ const config = {
baseUrl: process.env.DEST || '/', // overwritten in github action for staging / latest
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/metamask-fox.svg',
favicon: 'img/favicons/favicon-96x96.png',

headTags: [
{
tagName: 'link',
attributes: {
rel: 'icon',
type: 'image/png',
sizes: '96x96',
href: 'img/favicons/favicon-96x96.png',
},
},
{
tagName: 'link',
attributes: {
rel: 'icon',
type: 'image/png',
sizes: '192x192',
href: 'img/favicons/web-app-manifest-192x192.png',
},
},
{
tagName: 'link',
attributes: {
rel: 'icon',
type: 'image/png',
sizes: '512x512',
href: 'img/favicons/web-app-manifest-512x512.png',
},
},
{
tagName: 'link',
attributes: {
rel: 'apple-touch-icon',
sizes: '180x180',
href: 'img/favicons/apple-touch-icon.png',
},
},
{
tagName: 'script',
attributes: {
type: 'application/ld+json',
},
innerHTML: `
{
"@context": "https://schema.org",
"@type": "Organization",
"url": "https://docs.metamask.io",
"logo": "https://docs.metamask.io/img/favicons/favicon-96x96.png"
}
`,
},
],

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand Down
Binary file added static/img/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/favicons/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.