This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/main by this push:
new df459da6 Fix #1872: link llms.txt from the footer and the page <head>
(#1875)
df459da6 is described below
commit df459da64596d56ed054536aaf5c24963742aef2
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Nov 29 09:15:02 2026 +0100
Fix #1872: link llms.txt from the footer and the page <head> (#1875)
Add llms.txt next to Sitemap in the footer bottom row (data/chrome.yaml,
shared by Hugo and Antora), and a <link rel="alternate" type="text/plain">
to it in the <head> of every Hugo page and every Antora documentation page,
so an AI agent given any camel.apache.org URL can discover the index.
Co-authored-by: Claude Opus 5.5 <[email protected]>
---
antora-ui-camel/public/_/partials/head-meta.hbs | 1 +
antora-ui-camel/src/partials/head-meta.hbs | 1 +
data/chrome.yaml | 1 +
layouts/partials/header.html | 1 +
4 files changed, 4 insertions(+)
diff --git a/antora-ui-camel/public/_/partials/head-meta.hbs
b/antora-ui-camel/public/_/partials/head-meta.hbs
index 3ad63a08..2da68055 100644
--- a/antora-ui-camel/public/_/partials/head-meta.hbs
+++ b/antora-ui-camel/public/_/partials/head-meta.hbs
@@ -6,4 +6,5 @@
<meta property="og:type" content="website">
<meta property="og:image" content="{{site.url}}/_/img/logo-d-a567cee6fa.svg">
<link rel="manifest" href="{{siteRootPath}}/site.webmanifest">
+<link rel="alternate" type="text/plain" title="llms.txt: documentation index
for AI tools" href="{{siteRootPath}}/llms.txt">
{{! Add additional meta tags here}}
diff --git a/antora-ui-camel/src/partials/head-meta.hbs
b/antora-ui-camel/src/partials/head-meta.hbs
index 23b51281..8417d0bd 100644
--- a/antora-ui-camel/src/partials/head-meta.hbs
+++ b/antora-ui-camel/src/partials/head-meta.hbs
@@ -6,4 +6,5 @@
<meta property="og:type" content="website">
<meta property="og:image" content="{{site.url}}/_/img/logo-d.svg">
<link rel="manifest" href="{{siteRootPath}}/site.webmanifest">
+<link rel="alternate" type="text/plain" title="llms.txt: documentation index
for AI tools" href="{{siteRootPath}}/llms.txt">
{{! Add additional meta tags here}}
diff --git a/data/chrome.yaml b/data/chrome.yaml
index 69736dcd..c9fbdfaa 100644
--- a/data/chrome.yaml
+++ b/data/chrome.yaml
@@ -57,3 +57,4 @@ legal:
- { name: Privacy Policy, url:
'https://privacy.apache.org/policies/privacy-policy-public.html', external:
true }
- { name: Code of Conduct, url:
'https://www.apache.org/foundation/policies/conduct', external: true }
- { name: Sitemap, url: /sitemap/ }
+ - { name: llms.txt, url: /llms.txt }
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 63463daa..b0ca1d67 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -43,6 +43,7 @@
<title>{{ block "title" . }}{{ .Title }} - {{ .Site.Title }}{{ end
}}</title>
<link rel="canonical" href="{{ .Permalink }}">
<link rel="alternate" type="application/rss+xml" title="Apache Camel Blog"
href="{{ "blog/index.xml" | relURL }}">
+ <link rel="alternate" type="text/plain" title="llms.txt: documentation
index for AI tools" href="{{ "llms.txt" | relURL }}">
{{ if .Description}}
<meta name="description" content="{{ .Description }}">
{{ end }}