diff --git a/src/posts/2026/2026-02-19-eleventy-lessons.md b/src/posts/2026/2026-02-19-eleventy-lessons.md index 221977e2..8f0eaebe 100644 --- a/src/posts/2026/2026-02-19-eleventy-lessons.md +++ b/src/posts/2026/2026-02-19-eleventy-lessons.md @@ -271,6 +271,8 @@ in `eleventy.config.js`: eleventyConfig.addCollection("tagPagination", function(collection) { // Get unique list of tags let tagSet = new Set(collection.getAllSorted().flatMap((post) => post.data.tags || [])); + // Remove "structural" tags + tagSet = tagSet.difference(new Set(["posts"])); // Get each item that matches the tag let paginationSize = 6;