Files
structured-website-builder-…/skills-scripts/html-semantic-artifacts-checker-skill.md
T
2026-06-06 06:37:41 -06:00

14 lines
777 B
Markdown

Run this simple skill after each Hugo render, inspect every generated HTML page to verify
Pages with semantic artifacts include <link rel="alternate" type="application/json"> tags in <head>.
Alternate links point to existing chunks.json and qa.json files.
JSON-LD exists on all normal rendered content pages.
JSON-LD parses as raw JSON, not as an escaped/quoted string.
Home page uses WebPage.
Individual community summary pages use Article.
Section/list pages use CollectionPage.
Semantic artifact files are represented as Dataset nodes with DataDownload URLs.
WebPage, Article, CollectionPage, and Dataset nodes include `license`.
WebPage, Article, CollectionPage, and Dataset nodes include `usageInfo`.
Utility pages like /healthz/ do not need semantic discovery metadata.