From b80ffe8a1f77da264f801031314286e3dd9d8de5 Mon Sep 17 00:00:00 2001 From: TheMeinerLP Date: Sat, 10 Oct 2026 19:45:31 +0200 Subject: [PATCH] feat(seo): add social profiles to schema.org sameAs TikTok, YouTube and Instagram join the organization's sameAs in the base identity only; the $production block keeps merging it in rather than restating it, which would publish every entry twice. Claude-Session: https://claude.ai/code/session_019zws4ceJu2jctk3XT48fMX --- nuxt.config.ts | 5 ++++- tests/architecture/production-config.spec.ts | 13 +++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 91f7ad85..835671f3 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -86,7 +86,10 @@ export default defineNuxtConfig({ sameAs: [ 'https://github.com/OneLiteFeatherNET', 'https://1lf.link/discord', - 'https://opencollective.com/onelitefeather' + 'https://opencollective.com/onelitefeather', + 'https://www.tiktok.com/@onelitefeather.net', + 'https://www.youtube.com/channel/UCfPUI5tvNVWJeJ-t93fdj0g', + 'https://www.instagram.com/onelitefeather/' ] }) }, diff --git a/tests/architecture/production-config.spec.ts b/tests/architecture/production-config.spec.ts index eab10181..d06dedbe 100644 --- a/tests/architecture/production-config.spec.ts +++ b/tests/architecture/production-config.spec.ts @@ -59,6 +59,19 @@ describe('production config overrides', () => { expect(repeated).toEqual([]) }) + it('lists the social profiles in the base sameAs only', () => { + const { base, production } = blocks() + + for (const url of [ + 'https://www.tiktok.com/@onelitefeather.net', + 'https://www.youtube.com/channel/UCfPUI5tvNVWJeJ-t93fdj0g', + 'https://www.instagram.com/onelitefeather/' + ]) { + expect(base, url).toContain(`'${url}'`) + expect(production, url).not.toContain(url) + } + }) + it('enables the workers cache without sharing it across versions', () => { const { production } = blocks() const wrangler = production.slice(production.indexOf('wrangler: {'))