You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2026/06/04 13:05:07 UTC

(camel-website) branch main updated: Separate release announcements from main blog listing (#1610)

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 2e369f39 Separate release announcements from main blog listing (#1610)
2e369f39 is described below

commit 2e369f3988f218048e40d049c70d273549a3a261
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Jun 4 15:05:01 2026 +0200

    Separate release announcements from main blog listing (#1610)
    
    * #1609: Separate release announcements from main blog listing
    
    Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
    
    * #1609: Fix taxonomy access for releases count
    
    Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
    
    * #1609: Fix where filter for Hugo 0.121.2 compatibility
    
    Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
    
    * #1609: Keep Releases in sidebar categories to avoid broken link
    
    Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude Opus 4.6 <no...@anthropic.com>
---
 layouts/blog/list.html | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index e8cb956b..0eeca12e 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -21,7 +21,13 @@
     </nav>
     <main class="doc blog list">
         <div>
-            {{ $pages := ($.Paginator 3).Pages }}
+            {{ $filtered := slice }}
+            {{ range .Pages }}
+              {{ if not (in (default slice .Params.categories) "Releases") }}
+                {{ $filtered = $filtered | append . }}
+              {{ end }}
+            {{ end }}
+            {{ $pages := (.Paginate $filtered 3).Pages }}
             {{ range $pages }}
             {{ .Render "summary" }}
             {{ end }}