Skip to content

Add build specs, feed autodiscovery link, and gem updates - #26

Merged
rickychilcott merged 2 commits into
mainfrom
add-build-specs
Nov 23, 2026
Merged

rickychilcott merged 2 commits into
mainfrom
add-build-specs

Conversation

@rickychilcott

@rickychilcott rickychilcott commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Adds test/test_build.rb (20 specs; suite goes from 31 to 51, all passing). CI already runs rake test before deploying, so these gate deploys with no workflow change.

What the new specs check:

  • Scheduled posts: posts publish on their date and not before. Verified that a --future build fails it.
  • Redirects: on-site redirect targets exist, and redirect pages are noindex.
  • Category archives: each lists at least one post.
  • Every page: lang and viewport set, no unrendered Liquid, OG/Twitter tags present with og:url matching the canonical, og:image exists, JSON-LD parses, and the markdown twin link resolves.
  • Posts: BlogPosting JSON-LD, og:type=article, and <time datetime>.
  • Feed / sitemap: the feed includes the newest post, and every feed/sitemap URL was built. The sitemap contains no redirect pages.
  • robots.txt, llms.txt, agent-skill digests, api-catalog, contact form over HTTPS.

Fix: no page advertised the Atom feed. head.html now has <link rel="alternate" type="application/atom+xml" href="/feed.xml">. It's hand-written because bridgetown-feed's feed_meta tag needs a site_metadata.yml this site doesn't have.

Bridgetown is already on the latest release (2.2.2), so there's no upgrade here.

Gem updates: nokogiri 1.19.7, reverse_markdown 3.1.0, sass-embedded 1.108.2. Built HTML and CSS are byte-identical to before. The only output change is in five markdown twins: reverse_markdown 3.1 now nests list-item content correctly. They used to render as empty bullets followed by loose headings; I checked the new output with markdown-it. Puma stays < 7, because that pin comes from Bridgetown's site template and puma only runs the dev server.

🤖 Generated with Claude Code

rickychilcott and others added 2 commits November 23, 2026 06:30
test/test_build.rb covers scheduled posts, redirects, category archives,
social/structured data, unrendered Liquid, feed, sitemap, robots, llms.txt,
agent skills and the api-catalog. The specs caught that no page advertised
the Atom feed, so head.html now links it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
nokogiri 1.19.3 -> 1.19.7, reverse_markdown 3.0.2 -> 3.1.0,
sass-embedded 1.99.0 -> 1.108.2. Built HTML and CSS are unchanged.
reverse_markdown 3.1 nests list-item content in the .md twins, which
fixes them (they used to render as empty bullets followed by loose
headings).

Puma stays < 7: that pin comes from Bridgetown's site template and puma
only runs the dev server.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@rickychilcott rickychilcott changed the title Add build-artifact specs and feed autodiscovery link Add build specs, feed autodiscovery link, and gem updates Nov 23, 2026
@rickychilcott
rickychilcott merged commit 4268c97 into main Nov 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant