diff --git a/astro.config.mjs b/astro.config.mjs index 15c6ce1..45cab60 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -26,6 +26,21 @@ export default defineConfig({ customCss: ['./src/styles/fonts.css', './src/styles/theme.css', './src/styles/content.css'], head: [ { tag: 'meta', attrs: { name: 'theme-color', content: '#1d1a16' } }, + // favicon.ico is the 48 px icon Google needs for search results; browsers keep the SVG. + { tag: 'link', attrs: { rel: 'icon', href: '/favicon.ico', sizes: '32x32' } }, + // The site name Google shows above search results, in place of the bare domain. + { + tag: 'script', + attrs: { type: 'application/ld+json' }, + content: JSON.stringify({ + '@context': 'https://schema.org', + '@type': 'WebSite', + name: 'Potluck guide', + alternateName: ['Potluck docs', 'Potluck help'], + url: 'https://docs.potluck.fermulate.com/', + publisher: { '@type': 'Organization', name: 'Fermulate', url: 'https://fermulate.com/' }, + }), + }, ], sidebar: [ { label: 'Start here', items: ['getting-started'] }, diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..5f593c5 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/favicon.svg b/public/favicon.svg index 101fc3b..24ccd0e 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1,7 +1,26 @@ - - - - - - + + + + + + + + + +