Embed the bggpipe "Game Shelves" export (static/games/) into a themed Hugo page. A small loader (embed.js) fetches each export page, lifts out its <main>, rewrites relative URLs, and rewires game links to ?g=<slug> so the blog chrome stays on every page; embed.css scopes the export's component styling to the embed. The export itself is untouched and stays re-exportable. Adds the menu entry and excludes badges/ from deploy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
13 lines
567 B
Markdown
13 lines
567 B
Markdown
---
|
|
title:
|
|
description: My board game library, cataloged from shelf photos — search it, browse it, dig into any title.
|
|
---
|
|
|
|
Welcome to my board game library. It's [cataloged straight from photos of my shelves](https://git.kestrelsnest.social/eric/bggpipe), pulling details and cover art from BoardGameGeek. Search the collection below, or click any game to see the full rundown.
|
|
|
|
{{< rawhtml >}}
|
|
<link rel="stylesheet" href="/games/embed.css">
|
|
<div id="games-embed"><p>Loading the shelves…</p></div>
|
|
<script src="/games/embed.js" defer></script>
|
|
{{< /rawhtml >}}
|