EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...

    Module Constants/Seo

    Bounded-context barrel for the SEO-header constants shared by the four public HTML surfaces (news article, news index, sitemap, political-intelligence landing).

    Public API:

    • OG_LOCALES, getOgLocale, buildOgLocaleTags — BCP-47 locale mapping and tag emitters for the OpenGraph og:locale[:alternate] block.
    • ORG_SAME_AS, TWITTER_SITE_HANDLE, TWITTER_CREATOR_HANDLE, buildTwitterAttributionTags — canonical publisher/handles.

    Consumers MUST import from src/constants/seo/index.js (this barrel), not from the individual files inside src/constants/seo/. The drift-guard unit test in test/unit/bounded-contexts.test.js enforces this contract.

    Functions

    getOgLocale → getOgLocale
    buildOgLocaleTags → buildOgLocaleTags
    buildTwitterAttributionTags → buildTwitterAttributionTags

    Variables

    OG_LOCALES → OG_LOCALES
    TWITTER_SITE_HANDLE → TWITTER_SITE_HANDLE
    TWITTER_CREATOR_HANDLE → TWITTER_CREATOR_HANDLE
    ORG_SAME_AS → ORG_SAME_AS