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:
parent
1fc1b03107
commit
d988c34b65
|
|
@ -22,21 +22,21 @@ const config = {
|
|||
tagName: 'meta',
|
||||
attributes: {
|
||||
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',
|
||||
attributes: {
|
||||
name: 'llms-full',
|
||||
content: `${baseUrl}llms-full.txt`,
|
||||
content: `${urlParts.origin}${baseUrl}llms-full.txt`,
|
||||
},
|
||||
},
|
||||
{
|
||||
tagName: 'meta',
|
||||
attributes: {
|
||||
name: 'llms',
|
||||
content: `${baseUrl}llms.txt`,
|
||||
content: `${urlParts.origin}${baseUrl}llms.txt`,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue