summaryrefslogtreecommitdiff
path: root/layouts
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
commit60af9a08c84edcd38ab0a2ebb7bd54eb536a8290 (patch)
tree2f010d7661648a845f419f28473b5e7ae095c740 /layouts
parenta3396630cb7a79585e3f39144c05965378d985e3 (diff)
remove: data-tooltip of book items
Former-commit-id: 5e4ee933bc1bfc50d4e9d5db33ae9146a907cfd3
Diffstat (limited to 'layouts')
-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>