Repository navigation
fix(content): add the leading slash to 164 quest preview paths - #792
Conversation
preview: images/previews/x.png was joined onto /assets as /assetsimages/previews/x.png (404 for the hero background and og:image). Use /images/previews/... like the other 17 quests, and fix the SEO frontmatter template so new pages start correct.
🕸️ Quest Network Validation
|
✒️ Content quality — brand gate |
🎯 Quest Validation Results
| ✅ | Summary: 140 passed, 0 failed ℹ️ About Quest ValidationThis check validates quest files against IT-Journey standards:
Run locally: |
🤖 Agentic Quest Review4 quests evaluated · ✅ 1 pass ·
Recommendations for flagged questsbashcrawl and Beyond: Extending a Terminal Dungeon Adventure (
Character Building: Forge Your IT Hero Identity (
Markdown Mastery: Content Formatting Fundamentals (
|
✒️ Content quality — brand gate |
✒️ Content quality — brand gate |
Problem
164 quests set
preview: images/previews/<file>without a leading slash. The theme glues that onto itsassets_prefix, so every one of those pages points its hero background andog:image/twitter:imageat:Evidence (QA scan, Oct 2026): quest pages on it-journey.dev request
/assetsimages/previews/*.pngand get 404. Social shares of those quests have no image.In a local build of
main, 164 pages containassetsimages, and 169 of the 180 unique preview URLs on/quests/are missing.Fix
preview: images/…→preview: /images/…in the 164 quest files. This matches the 17 quests that already use/images/. Only the first front-matter block is touched; no body text, other fields or generated data change.TODO/templates/SEO_FRONTMATTER_TEMPLATE.mduses the slashed form, so new pages start out correct.[Unreleased] → Fixedentry.The theme is also being hardened to accept the slashless form (bamr87/zer0-mistakes#509), but this repo should be correct on its own.
Verification
_config.yml,_config_dev.yml,_config_ci.yml, remote theme):assetsimages: 164 → 0./quests/that resolve to a missing file: 169 → 71.make quest-audit: AUDIT PASSED, including "all generated data in sync". Previews are not part of the generated quest data, somake quest-datahas nothing to regenerate.source_repo/source_url, so no vendored file is rewritten.Follow-up (not in this PR)
The remaining 71 preview URLs now resolve correctly, but the image files were never generated. Every one is a
.pngunderassets/images/previews/, for example:agentic-autonomy-levels-matrix.pngagentic-behavior-tuning.pngagentic-codex-capstone-exam-trial.pngRunning the preview generator (
bundle exec jekyll preview-images, zer0-image-generator) should fill them in. That generates images, so it is left to the preview lane.