[haxcms-nodejs] Add llms discoverability metadata to NodeJS templates#13
Draft
Copilot wants to merge 2 commits into
Draft
[haxcms-nodejs] Add llms discoverability metadata to NodeJS templates#13Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/haxtheweb/haxcms-nodejs/sessions/7c39fe98-4da2-47cb-abdd-8050a953c50a Co-authored-by: btopro <329735+btopro@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add LLMS support for Node.js templates
[haxcms-nodejs] Add llms discoverability metadata to NodeJS templates
May 15, 2026
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.
Related Issue
Figma Link
Description of Changes
NodeJS boilerplate templates already generated
llms.txtbut did not advertise it in crawler/consumer-facing metadata. This updates the template layer so generated sites exposellms.txtconsistently in HTML head metadata androbots.txt.What changed:
<link rel="alternate" type="text/markdown" ...>forllms.txtin:src/boilerplate/site/index.htmlsrc/boilerplate/site/ghpages.htmlsrc/boilerplate/site/config.php(PHP-rendered metadata path)src/boilerplate/site/robots.txt(non-private branch) to include:Sitemap: {{ basePath }}sitemap.xmlLLMS: {{ basePath }}llms.txtAllow: /Why this change was needed:
The issue requested parity for NodeJS templates: generated sites should not just produce
llms.txt, they should also signal it through standard discoverability surfaces used by crawlers and LLM-facing tooling.Type of Change
Testing Checklist
Quality Assurance
Ways to Test This Change
index.html(or rendered head output) and verifyllms.txtalternate link tag is present.robots.txtand verifySitemapandLLMSdirectives resolve againstbasePath.Screenshots/Recordings
Before:
llms.txtwas generated but not advertised in template head metadata orrobots.txt.After:
Generated templates now include head-level
llms.txtalternate metadata androbots.txtLLMS/Sitemapdirectives.Additional Notes
Parallel review flagged minor style consistency suggestions (e.g., relative URL style); behaviorally this PR stays minimal and focused on discoverability parity.
Checklist