summaryrefslogtreecommitdiff
path: root/layouts/library/section.html
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2025-12-06 16:14:29 +0800
committerBigCoke233 <hi@guhub.cn>2025-12-06 16:14:29 +0800
commit5e4ee933bc1bfc50d4e9d5db33ae9146a907cfd3 (patch)
treeeb7a44eb4eadbaacea7ac46e3b7bf8471af22957 /layouts/library/section.html
parentdac2b4e4a93ac378bf20559869310c4535e30f3d (diff)
remove: data-tooltip of book items
Diffstat (limited to 'layouts/library/section.html')
-rw-r--r--layouts/library/section.html13
1 files changed, 5 insertions, 8 deletions
diff --git a/layouts/library/section.html b/layouts/library/section.html
index cab61e51..50dac407 100644
--- a/layouts/library/section.html
+++ b/layouts/library/section.html
@@ -29,8 +29,7 @@
{{ $booksToShow = first 18 $books }}
{{ end }}
{{ range $i, $book := $booksToShow }}
- <div class="{{ if gt $i 15 }}hidden md:block{{ end }}"
- data-tooltip="{{ $book.Title }}">
+ <div class="{{ if gt $i 15 }}hidden md:block{{ end }}">
{{ partial "items/book" (dict
"ctx" $book
) }}
@@ -64,12 +63,10 @@
)}}
<div class="grid grid-cols-4 md:grid-cols-6 items-center gap-4 my-4">
{{ range $goodBooks }}
- <div data-tooltip="{{ .Title }}">
- {{ partial "items/book" (dict
- "ctx" .
- "NoViewTransition" true
- ) }}
- </div>
+ {{ partial "items/book" (dict
+ "ctx" .
+ "NoViewTransition" true
+ ) }}
{{ end }}
</div>