Skip to content

Generate per-page OG images #233

@braboj

Description

@braboj

Summary

The same og-banner.png is used for all 36 pages. Shared links to different chapters/recipes look identical on social platforms, reducing click incentive.

Options

  • Astro OG image integration (e.g., @astrojs/og or satori + sharp)
  • Static generation at build time from page title + chapter name
  • Template: teal background + Git icon + page title + "Code with Branko"

Acceptance criteria

  • Each page has a unique OG image with its title
  • Images generated at build time (no runtime dependency)
  • Fallback to the existing banner if generation fails

Found by

360-degree analysis (Discovery category), 2026-04-29.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Infrastructure — domain and portabilitytaskSingle unit of work

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions