diff options
Diffstat (limited to 'layouts/library/section.html')
| -rw-r--r-- | layouts/library/section.html | 13 |
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> |
