From ba7149313243df1dd11fa00f27c0976e47c21611 Mon Sep 17 00:00:00 2001 From: SandObserver <260779319+SandObserver@users.noreply.github.com> Date: Sat, 5 Sep 2026 18:35:11 -0400 Subject: [PATCH] Docs: add per-page social tags, breadcrumbs and widget noindex Add a Starlight Head override that emits twitter:title, twitter:description and og:image:alt on every docs page, plus BreadcrumbList structured data derived from the page path. Replace the landing page's single SoftwareApplication block with a @graph carrying Organization, WebSite and an enriched SoftwareApplication that names softwareVersion, downloadUrl, installUrl and releaseNotes. Name self-hosting, open source and Docker in the landing hero and section copy, and make the call-to-action link text describe its target. Inject robots noindex into the synced widget previews, which are reachable but carry no canonical and are absent from the sitemap. Link the repository release feed from the changelog page. --- astro.config.mjs | 1 + public/widgets/backup/backup.html | 1 + public/widgets/books/index.html | 1 + public/widgets/clock/analog.html | 1 + public/widgets/clock/digital.html | 1 + .../widgets/connections/connections-map.html | 1 + .../widgets/connections/connections-vpn.html | 1 + public/widgets/dashboard-switch/index.html | 1 + public/widgets/disk-health/index.html | 1 + public/widgets/dns/index.html | 1 + public/widgets/github/contributions.html | 1 + public/widgets/github/pullrequests.html | 1 + public/widgets/nowplaying/index.html | 1 + public/widgets/system-summary/index.html | 1 + public/widgets/weather/index.html | 1 + scripts/sync-widgets.mjs | 10 ++- src/components/Head.astro | 37 ++++++++++ src/pages/docs/changelog.astro | 3 +- src/pages/index.astro | 69 ++++++++++++++----- 19 files changed, 111 insertions(+), 23 deletions(-) create mode 100644 src/components/Head.astro diff --git a/astro.config.mjs b/astro.config.mjs index c69ac85..8e5ee9c 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -28,6 +28,7 @@ export default defineConfig({ replacesTitle: true, }, favicon: '/favicon.svg', + components: { Head: './src/components/Head.astro' }, customCss: ['./src/styles/fonts.css', './src/styles/docs.css'], head: [ { diff --git a/public/widgets/backup/backup.html b/public/widgets/backup/backup.html index 5ed24f0..9792ca3 100644 --- a/public/widgets/backup/backup.html +++ b/public/widgets/backup/backup.html @@ -3,6 +3,7 @@ + Backup