This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-site.git
The following commit(s) were added to refs/heads/main by this push:
new 51c7b2312 Fix bloghome template broken by Pelican 4.12.0 (#180)
51c7b2312 is described below
commit 51c7b23123d99402d452b20ed067c892e456fd32
Author: Jan Høydahl <[email protected]>
AuthorDate: Tue May 19 14:51:38 2026 +0200
Fix bloghome template broken by Pelican 4.12.0 (#180)
---
themes/solr/templates/bloghome.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/solr/templates/bloghome.html
b/themes/solr/templates/bloghome.html
index 1b10175c7..0ddbd0991 100644
--- a/themes/solr/templates/bloghome.html
+++ b/themes/solr/templates/bloghome.html
@@ -14,7 +14,7 @@
<hr/>
- {% for article in (pages | selectattr("category.name", "in",
["solr/blogposts"]) |list | sort(attribute="date") | reverse) %}
+ {% for article in (pages | selectattr("category", "equalto",
"solr/blogposts") |list | sort(attribute="date") | reverse) %}
<h2 id="{{ article.slug }}">
<a href="{{article.url}}">
{{ article.title }}