Repository navigation
chore(seo): advertise llms.txt to AI crawlers - #12
Merged
Merged
Conversation
Two small discovery hints so AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, Applebot-Extended) and research bots find /llms.txt without having to guess the path: - robots.txt: add LLM-Content + Sitemap lines pointing at /llms.txt - BaseLayout.astro: add <link rel="alternate" type="text/plain" title="LLM index" href="/llms.txt" /> in the head of every page There is no central submission endpoint for llms.txt — discovery is purely convention-based, so making the file linkable from both the crawl-control file and every HTML page is the maximum we can do ourselves. IndexNow already handles the search-engine side.
|
🚀 Preview deployed to: https://9b3446cb.gemmology-dev.pages.dev |
Bissbert
added a commit
that referenced
this pull request
May 11, 2026
Two small discovery hints so AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, Applebot-Extended) and research bots find /llms.txt without having to guess the path: - robots.txt: add LLM-Content + Sitemap lines pointing at /llms.txt - BaseLayout.astro: add <link rel="alternate" type="text/plain" title="LLM index" href="/llms.txt" /> in the head of every page There is no central submission endpoint for llms.txt — discovery is purely convention-based, so making the file linkable from both the crawl-control file and every HTML page is the maximum we can do ourselves. IndexNow already handles the search-engine side.
This branch was successfully deployed
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.
Summary
robots.txt: addLLM-ContentandSitemaplines pointing at/llms.txtBaseLayout.astro: add<link rel="alternate" type="text/plain" title="LLM index" href="/llms.txt" />so every HTML page advertises the LLM index in<head>Why
There's no submission endpoint or central registry for
llms.txt— discovery is convention-based. AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, Applebot-Extended) look for it by guessing the path. These two hints make the file discoverable from both the crawl-control file and every page.Test plan
curl -s https://gemmology.dev/robots.txt | grep -i llmshows the new lines<head>contains thelink rel="alternate"to/llms.txt