diff options
| author | Eltrac <hi@guhub.cn> | 2025-11-06 11:01:00 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-11-06 11:01:00 +0800 |
| commit | 8983b2a48d16bc763f5181bb974ee73efbcaafff (patch) | |
| tree | 209f89b06865e39a7bfc7ba08c72509be35569fe /layouts/library/yearlist.html | |
| parent | d5a29ffa1c93b3fded194400e62f118fb06c5df7 (diff) | |
fix: duplicated view transition names in library page
Diffstat (limited to 'layouts/library/yearlist.html')
| -rw-r--r-- | layouts/library/yearlist.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/library/yearlist.html b/layouts/library/yearlist.html index 8250046d..1405cb27 100644 --- a/layouts/library/yearlist.html +++ b/layouts/library/yearlist.html @@ -7,7 +7,8 @@ {{ $year := .Title }} {{ range where .Site.RegularPages "Section" "library" }} {{ if eq (printf "%d" .Date.Year) $year }} - <div data-tooltip="{{ .Title }}">{{ partial "items/book" . }}</div> + <div data-tooltip="{{ .Title }}"> + {{ partial "items/book" (dict "ctx" .) }}</div> {{ end }} {{ end }} </div> |
