fix: behaviour of exclude-from-list categories and posts therein

This commit is contained in:
2026-02-21 08:50:01 +01:00
parent 7f20a5efa2
commit a5281a7750
3 changed files with 92 additions and 4 deletions

View File

@@ -288,7 +288,7 @@ export class BlogGenerationEngine {
}
const publishedListPosts = Array.from(publishedListPostById.values())
.sort((a, b) => b.createdAt.getTime() - a.createdAt.getTime());
const feedPosts = publishedPosts.slice(0, maxPostsPerPage);
const feedPosts = publishedListPosts.slice(0, maxPostsPerPage);
onProgress(3, `Found ${publishedPosts.length} published posts`);

View File

@@ -5,6 +5,8 @@
{% assign resolved_pico_stylesheet_href = pico_stylesheet_href | default: '/assets/pico.min.css' %}
<link rel="stylesheet" href="{{ resolved_pico_stylesheet_href }}" />
<link rel="stylesheet" href="/assets/lightbox.min.css" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="/rss.xml" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="/atom.xml" />
{% render 'partials/styles' %}
<script defer src="/assets/d3.layout.cloud.js"></script>
<script defer src="/assets/tag-cloud.js"></script>