Skip to content

Expand head signals: robots, ogType, ogUrl, Twitter Card #106

Open

Description

@coloneljade

Context

During the quality pass (Groups 1–5), the head signals section was documented in README.md. The current API covers 6 signals (title, description, canonical, ogTitle, ogDescription, ogImage). Missing signals were identified as out of scope for the quality pass.

Problem/Opportunity

Common meta tags used for SEO and social sharing are not yet covered:

  • robots — <meta name="robots" content="..."> for crawl directives
  • ogType — <meta property="og:type" content="..."> (e.g., "website", "article")
  • ogUrl — <meta property="og:url" content="..."> (canonical OG URL)
  • Twitter Card tags: twitter:card, twitter:site, twitter:creator

Suggested Approach

Each is a ~4-line addition following the existing syncMeta pattern in src/signals/head.ts:

  1. Add a named signal('') export
  2. Add an effect(() => syncMeta(...)) call
  3. Export from src/index.ts
  4. Add to the head signals table in README.md
  5. Add to Head component props and IHeadProps interface

Activity

  1. added
    enhancement
    on Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions