Static site (3): SEO and Recipe structured data - #77
Merged
Conversation
Add schema.org Recipe JSON-LD to every recipe page (name, author, category, ingredients, step instructions, keywords, yield, image), plus canonical, Open Graph, and Twitter-card meta site-wide (recipe pages use their own photo and article type; others use the biscotti image). Add a generated sitemap.xml (507 URLs) and robots.txt. All absolute URLs use the github.blimacake.com domain. Verified: JSON-LD parses and carries the right fields; recipes with a photo expose it in JSON-LD and OG image; sitemap and robots build. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HpG2vky2XhDtfc6y16TRis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 3 of the static-site phase (ADR 0003). Adds search-engine metadata and structured data.
What changed
Recipestructured data (name, author "Blima Posluns", category,recipeIngredient,recipeInstructionsasHowToSteps, keywords from tags, yield when present, and an absolute image when the recipe has a photo). Built by a filter ineleventy.config.jsand emitted as escaped JSON.og:type=article; other pages use the biscotti image andwebsite.sitemap.xml(507 URLs: home, categories index, tags, search, 16 category pages, 487 recipes) androbots.txtpointing at it.https://github.blimacake.com.Verified locally
imageandog:image; a recipe without one falls back to the site image.sitemap.xmlandrobots.txtbuild correctly.Next
PR 4: the GitHub Pages deploy workflow with the
github.blimacake.comCNAME, plus DNS guidance.🤖 Generated with Claude Code
https://claude.ai/code/session_01HpG2vky2XhDtfc6y16TRis
Generated by Claude Code