From 8983b2a48d16bc763f5181bb974ee73efbcaafff Mon Sep 17 00:00:00 2001 From: Eltrac Date: Thu, 6 Nov 2025 11:01:00 +0800 Subject: fix: duplicated view transition names in library page --- layouts/library/section.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'layouts/library/section.html') diff --git a/layouts/library/section.html b/layouts/library/section.html index 973c6351..a7df419a 100644 --- a/layouts/library/section.html +++ b/layouts/library/section.html @@ -14,7 +14,9 @@ {{ range $i, $book := $first18BooksThisYear }}
- {{ partial "items/book" $book }} + {{ partial "items/book" (dict + "ctx" $book + ) }}
{{ end }} @@ -47,7 +49,12 @@ )}}
{{ range $goodBooks }} -
{{ partial "items/book" . }}
+
+ {{ partial "items/book" (dict + "ctx" . + "NoViewTransition" true + ) }} +
{{ end }}
-- cgit v1.2.3