Files
structured-website-builder-…/tasks-workflows/2026-05-18-tag-json-ld-sitemap-xml.md
T

52 lines
2.1 KiB
Markdown
Raw Permalink Normal View History

2026-06-06 06:37:41 -06:00
Today’s tasks completed:
Added a new Hugo semantic discovery partial:
hugo-html-builder/layouts/partials/semantic-discovery.html
Updated the shared Hugo base template:
hugo-html-builder/layouts/_default/baseof.html
Added the partial inside the HTML <head> so semantic discovery metadata is generated automatically during Hugo builds.
Added <link rel="alternate" type="application/json"> tags to rendered pages with semantic artifacts:
Home page links to /data/open/pages/home/chunks.json and /data/open/pages/home/qa.json.
Community summary article pages link to their corresponding chunks.json and qa.json.
Added JSON-LD structured data to rendered pages:
Home page uses WebPage.
Community summary article pages use Article.
Section/list pages use CollectionPage.
Semantic artifact files are represented as Dataset nodes with DataDownload URLs.
Fixed JSON-LD output so it renders as raw JSON, not an escaped/quoted JSON string.
Audited all rendered HTML pages:
JSON-LD parsed successfully.
Alternate chunk/QA links pointed to existing files.
Section pages had CollectionPage.
Article pages had Article plus Dataset.
Home page had WebPage plus Dataset.
/healthz/ correctly had no semantic discovery metadata.
Updated the discovery files workflow skill:
skills-scripts/discovery-files-materialization-skill.md
Added instructions that sitemap generation should append selected root AI/helper files after human-facing pages.
Updated the deterministic sitemap/discovery generator:
skills-scripts/build_discovery_files.py
Appends these root helper files to public/sitemap.xml:
https://indx.earth/ai-index.json
https://indx.earth/llms.txt
https://indx.earth/skills.md
Rebuilt discovery files with the updated script.
Verified public/sitemap.xml:
XML parses correctly.
Includes 18 total URLs.
Final three entries are ai-index.json, llms.txt, and skills.md.
Does not include robots.txt, sitemap.xml, /healthz/, or operational endpoints.
Adjusted generated helper text:
llms.txt keeps helper files under machine-readable resources, not human URLs.
agents.md now describes sitemap coverage as public URLs including human pages plus selected AI/helper resources.