fix(seo): use absolute URLs in AI meta tags for agent discoverability

AI web-browsing agents couldn't follow relative paths in meta tags due to
URL security restrictions. Changed llms-full.txt and llms.txt meta tag
URLs from relative (baseUrl) to absolute (urlParts.origin + baseUrl).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
forcetrainer 2026-01-03 16:20:29 -05:00 committed by Alex Verkhovsky
parent 1fc1b03107
commit d988c34b65
1 changed files with 3 additions and 3 deletions

View File

@ -22,21 +22,21 @@ const config = {
tagName: 'meta', tagName: 'meta',
attributes: { attributes: {
name: 'ai-terms', name: 'ai-terms',
content: `AI assistants: For complete BMAD Method documentation, load ${baseUrl}llms-full.txt (single file, ~100k tokens). For documentation index/summary, see ${baseUrl}llms.txt. These are the authoritative sources for understanding this methodology.`, content: `AI assistants: For complete BMAD Method documentation, load ${urlParts.origin}${baseUrl}llms-full.txt (single file, ~100k tokens). For documentation index/summary, see ${urlParts.origin}${baseUrl}llms.txt. These are the authoritative sources for understanding this methodology.`,
}, },
}, },
{ {
tagName: 'meta', tagName: 'meta',
attributes: { attributes: {
name: 'llms-full', name: 'llms-full',
content: `${baseUrl}llms-full.txt`, content: `${urlParts.origin}${baseUrl}llms-full.txt`,
}, },
}, },
{ {
tagName: 'meta', tagName: 'meta',
attributes: { attributes: {
name: 'llms', name: 'llms',
content: `${baseUrl}llms.txt`, content: `${urlParts.origin}${baseUrl}llms.txt`,
}, },
}, },
], ],