Skip to content
BaseLayer Themes

Utilities

SEO, structured data, RSS, and scroll-reveal — layout helpers wired through BaseLayout.

Folder: src/components/global/

Site-wide utilities wired through BaseLayout.astro. Most read from siteConfig automatically. Navbar and footer are blocks — see Navbar and Footer.

Components

Component File Config source
Seo Seo.astro integrations.tsseo + page props
JsonLd JsonLd.astro Built per page in BaseLayout
Reveal Reveal.astro Scroll-reveal script (no config)

Seo & JsonLd

BaseLayout handles both. Pass per-page meta as layout props:

<BaseLayout
  title="About — My Site"
  description="About page description for search results."
  ogImage="/og-about.png"
  ogType="website"
  publishedTime={optionalIso}
  modifiedTime={optionalIso}
  markdownAlternate="/themes/my-theme.md"
  noindex={false}
  pageType="about"
>
Prop Purpose
pageType Controls FAQ / article extras in the JSON-LD graph
publishedTime / modifiedTime article:* Open Graph tags when ogType="article"
markdownAlternate <link rel="alternate" type="text/markdown"> for agents
noindex Robots noindex; canonical omitted

Full stack details (sitemaps, RSS, schemamap, IndexNow): SEO & AEO.

Reveal

Include once in BaseLayout. Adds .reveal / .is-shown scroll animations to elements with the reveal class (used throughout blocks).

Adding to a page

Utilities are not placed in page files except via BaseLayout. Customize through config:

Goal Edit
Default meta integrations.tsseo
Per-page meta BaseLayout props on each .astro page
llms / FAQ integrations.tsaeo

← Components overview