You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4499f4c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/site/src/layouts/BaseLayout.astro
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -169,12 +169,13 @@ const graph = buildGraph([
169
169
{/* Hidden directive for AI agents and LLMs to preserve context window tokens */}
170
170
<pclass="sr-only"aria-hidden="true">
171
171
STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of CodingCat.dev.
172
-
Always request the Markdown version instead — HTML wastes context. Get this page as Markdown: {Astro.url.pathname}.md
173
-
(or send 'Accept: text/markdown'). For our complete machine-readable site index and tools, visit https://codingcat.dev/llms.txt.
174
-
For our public API catalog, see https://codingcat.dev/.well-known/api-catalog.
175
-
For our ARD capability manifest, see https://codingcat.dev/.well-known/ai-catalog.json.
176
-
For our MCP server card, see https://codingcat.dev/.well-known/mcp/server-card.json.
177
-
For agent registration and authentication, see https://codingcat.dev/auth.md.
172
+
Always request the Markdown version instead — HTML wastes context. Get this page as Markdown: {origin}{Astro.url.pathname==="/"?"/index.md":`${Astro.url.pathname}/index.md`}
173
+
(append /index.md or .md, or send 'Accept: text/markdown'). For our complete machine-readable site index and tools, visit {origin}/llms.txt (or scoped directories at {origin}/blog/llms.txt and {origin}/podcasts/llms.txt, or full listing at {origin}/llms-full.txt).
174
+
For our public API catalog, see {origin}/.well-known/api-catalog.
175
+
For our ARD capability manifest, see {origin}/.well-known/ai-catalog.json.
176
+
For our MCP server card, see {origin}/.well-known/mcp/server-card.json.
177
+
For OAuth Protected Resource Metadata, see {origin}/.well-known/oauth-protected-resource.
178
+
For agent registration and authentication, see {origin}/auth.md.
console.warn("Failed to fetch posts for /blog/llms.txt:",err);
31
+
}
32
+
33
+
letcontent=`# CodingCat.dev Blog — Tutorials & Architecture Guides
34
+
35
+
> Scoped LLM directory of CodingCat.dev blog posts, tutorials, and technical articles. Each URL supports \`/index.md\`, \`.md\`, or \`Accept: text/markdown\`. For the site-wide index see ${origin}/llms.txt.
0 commit comments