From fed5c2a42447eed5c98258ac9218cfb993c6e930 Mon Sep 17 00:00:00 2001 From: Joshua Seigler Date: Tue, 24 Jun 2025 09:38:39 -0400 Subject: [PATCH] fix More link --- site/_includes/collection.njk | 2 +- site/_includes/components/collectionList.njk | 6 +++--- site/_includes/home.njk | 2 +- site/pages/tag.njk | 4 +--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/site/_includes/collection.njk b/site/_includes/collection.njk index ec4dbac..bb55b40 100644 --- a/site/_includes/collection.njk +++ b/site/_includes/collection.njk @@ -10,6 +10,6 @@ eleventyComputed: {% set tag = page.fileSlug %} {% if collections[tag] %} - {{ collectionList(collections[tag]) }} + {{ collectionList(tag) }} {% endif %} diff --git a/site/_includes/components/collectionList.njk b/site/_includes/components/collectionList.njk index 98be34e..f0920fe 100644 --- a/site/_includes/components/collectionList.njk +++ b/site/_includes/components/collectionList.njk @@ -1,8 +1,8 @@ {%- from "components/tagList.njk" import tagList with context -%} -{% macro collectionList(collection, limit=0) %} +{% macro collectionList(tagName, limit=0) %}