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

commit 3e59daa9b010c413da227a643678f1c18f83e75b
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jun 23 11:59:49 2026 +0200

    chore: only hide single-category Releases posts from main blog page
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 content/blog/2026/06/kaoto-release-2.11.0/index.md | 2 +-
 layouts/blog/list.html                             | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/content/blog/2026/06/kaoto-release-2.11.0/index.md 
b/content/blog/2026/06/kaoto-release-2.11.0/index.md
index 40fd1d7b..814c91b7 100644
--- a/content/blog/2026/06/kaoto-release-2.11.0/index.md
+++ b/content/blog/2026/06/kaoto-release-2.11.0/index.md
@@ -3,7 +3,7 @@ title: "Kaoto v2.11 release"
 date: 2026-06-18
 draft: false
 authors: [lordrip, igarashitm, PVinaches, djelinek, mmelko]
-categories: ["Community", "Tooling"]
+categories: ["Tooling", "Releases"]
 keywords: ["apache camel", "kaoto", "visual editor", "integration design"]
 preview: "Kaoto 2.11 has been released"
 ---
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index 0eda15d6..791c41be 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -26,7 +26,9 @@
         <div>
             {{ $filtered := slice }}
             {{ range .Pages }}
-              {{ if not (in (default slice .Params.categories) "Releases") }}
+              {{/* hide posts where Releases is the only category */}}
+              {{ $cats := default slice .Params.categories }}
+              {{ if not (and (in $cats "Releases") (eq (len $cats) 1)) }}
                 {{ $filtered = $filtered | append . }}
               {{ end }}
             {{ end }}

Reply via email to