This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch fix/1586-rss-feed-discovery in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit 1d29fdbbab785d9f10d3a2e15fd3c1ed323c484c Author: Claus Ibsen <[email protected]> AuthorDate: Sun Jun 14 21:37:59 2026 +0200 fix(#1586): add RSS feed discovery links - Add <link rel="alternate"> in HTML head for feed autodiscovery - Add RSS icon to header and footer icon bars - Add visible RSS feed link on blog list page - Add RSS icon to brand-logos SVG sprite Co-Authored-By: Claude Opus 4.6 <[email protected]> --- antora-ui-camel/src/img/brand-logos.svg | 9 ++++++++- layouts/blog/list.html | 3 +++ layouts/partials/footer.html | 1 + layouts/partials/header.html | 2 ++ 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/antora-ui-camel/src/img/brand-logos.svg b/antora-ui-camel/src/img/brand-logos.svg index 3f813ec6..43141ece 100644 --- a/antora-ui-camel/src/img/brand-logos.svg +++ b/antora-ui-camel/src/img/brand-logos.svg @@ -2,7 +2,7 @@ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" - viewBox="0 0 256 64"> + viewBox="0 0 320 64"> <symbol id="twitter" viewBox="0 0 64 64"> <title>Twitter</title> <desc>Follow Apache Camel on Twitter</desc> @@ -25,4 +25,11 @@ <desc>Apache Camel group on Linkedin</desc> <path d="M 192 4 L 192 60 L 254 60 L 254 4 Z M 213.332031 50.667969 L 205.332031 50.667969 L 205.332031 21.332031 L 213.332031 21.332031 Z M 209.332031 17.953125 C 210.757812 17.953125 204.667969 15.84375 204.667969 13.246094 C 204.667969 10.652344 206.757812 8.542969 209.332031 8.542969 C 211.910156 8.542969 214 10.652344 214 13.246094 C 214 15.84375 211.910156 17.953125 209.332031 17.953125 Z M 245.332031 50.667969 L 237.332031 50.667969 L 237.332031 35.722656 C 237.332031 26.74218 [...] </symbol> + <symbol id="rss" viewBox="256 0 64 64"> + <title>RSS</title> + <desc>Subscribe to RSS Feed</desc> + <circle cx="272" cy="48" r="6" /> + <path d="M 264,20 C 264,20 264,20 264,20 C 279.464,20 292,32.536 292,48 L 300,48 C 300,28.118 283.882,12 264,12 Z" /> + <path d="M 264,34 C 271.732,34 278,40.268 278,48 L 286,48 C 286,35.85 276.15,26 264,26 Z" /> + </symbol> </svg> diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 0eeca12e..63ddf3cc 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -20,6 +20,9 @@ </aside> </nav> <main class="doc blog list"> + <div class="blog-rss"> + <a href="{{ "blog/index.xml" | absURL }}" title="Subscribe to RSS Feed"><svg focusable="false" class="brand-icon"><use href="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#rss" /></svg> RSS Feed</a> + </div> <div> {{ $filtered := slice }} {{ range .Pages }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 741e7d72..6451e43e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -77,6 +77,7 @@ <a rel="noopener noreferrer nofollow" href="https://camel.zulipchat.com" title="Chat on Zulip"><svg class="brand-icon" focusable="false"><use href="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#zulip" /></svg></a> <a rel="noopener noreferrer nofollow" href="https://twitter.com/ApacheCamel" title="Follow Apache Camel on Twitter"><svg class="brand-icon" focusable="false"><use href="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#twitter" /></svg></a> <a rel="noopener noreferrer nofollow" href="https://www.linkedin.com/groups/2447439/" title="Apache Camel group on Linkedin"><svg class="brand-icon" focusable="false"><use href="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#linkedin" /></svg></a> + <a href="{{ "blog/index.xml" | absURL }}" title="Subscribe to RSS Feed"><svg class="brand-icon" focusable="false"><use href="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#rss" /></svg></a> </div> </div> </footer> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e3383ec5..bbb97285 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -42,6 +42,7 @@ <link rel="manifest" href="{{ "site.webmanifest" | relURL }}"> <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" | absURL }}"> {{ if .Description}} <meta name="description" content="{{ .Description }}"> {{ end }} @@ -78,6 +79,7 @@ <a rel="noopener noreferrer nofollow" href="https://camel.zulipchat.com" title="Chat on Zulip"><svg focusable="false" class="brand-icon"><use href="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#zulip" /></svg></a> <a rel="noopener noreferrer nofollow" href="https://twitter.com/ApacheCamel" title="Follow Apache Camel on Twitter"><svg focusable="false" class="brand-icon"><use href="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#twitter" /></svg></a> <a rel="noopener noreferrer nofollow" href="https://www.linkedin.com/groups/2447439/" title="Apache Camel group on Linkedin"><svg focusable="false" class="brand-icon"><use href="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#linkedin" /></svg></a> + <a href="{{ "blog/index.xml" | absURL }}" title="Subscribe to RSS Feed"><svg focusable="false" class="brand-icon"><use href="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#rss" /></svg></a> </div> <button class="navbar-burger" data-target="topbar-nav" type="button" aria-label="Menu"> <span></span>
