aboutsummaryrefslogtreecommitdiff
path: root/website/astro.config.mjs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-08-23 03:44:29 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-08-23 03:44:56 +0300
commitd6dae88345d24b8e468f63faad6a09173d2cbeac (patch)
tree8e8912d1f6c784a09ce6a4fd450378ca60f9ced7 /website/astro.config.mjs
parent2bbb7c9172dafe3d77be970767e22dbd7c53c960 (diff)
fix: serve a google-eligible favicon
Diffstat (limited to 'website/astro.config.mjs')
-rw-r--r--website/astro.config.mjs8
1 files changed, 7 insertions, 1 deletions
diff --git a/website/astro.config.mjs b/website/astro.config.mjs
index 8afbf46f..b216e6d8 100644
--- a/website/astro.config.mjs
+++ b/website/astro.config.mjs
@@ -71,7 +71,7 @@ export default defineConfig({
starlight({
title: 'herdr',
description: 'Terminal-native agent runtime and multiplexer.',
- favicon: '/assets/favicon.png?v=14',
+ favicon: '/favicon.ico',
defaultLocale: 'root',
locales: {
root: { label: 'English', lang: 'en' },
@@ -110,6 +110,12 @@ export default defineConfig({
],
customCss: ['./src/styles/starlight.css'],
head: [
+ {
+ // Google's favicon crawler rejects icons smaller than 48px
+ tag: 'link',
+ attrs: { rel: 'icon', type: 'image/png', sizes: '192x192', href: '/assets/favicon.png' },
+ },
+ { tag: 'link', attrs: { rel: 'apple-touch-icon', href: '/assets/logo.png' } },
// the brand display face; Starlight owns its own <head>, so the
// marketing pages' font link doesn't reach docs
{ tag: 'link', attrs: { rel: 'preconnect', href: 'https://fonts.googleapis.com' } },