From bf677c3cdf23ac69f42c574a34a9fec4beb39dd8 Mon Sep 17 00:00:00 2001 From: Lee Cattarin Date: Fri, 27 Mar 2026 11:54:48 -0700 Subject: [PATCH] add line to remove structural tags --- src/posts/2026/2026-02-19-eleventy-lessons.md | 2 ++ 1 file changed, 2 insertions(+) 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;