.
This commit is contained in:
parent
89a99c0aa7
commit
cbaa466191
3 changed files with 48 additions and 2 deletions
5
templates/covers.html
Normal file
5
templates/covers.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{{range $i, $c := .Covers}}
|
||||
<div class="cover" :class="{'active': active === total - {{len $.Covers}} + {{$i}}}"{{if and (eq $i 11) $.HasMore}} hx-get="{{$.Prefix}}/load/{{$.NextPage}}" hx-trigger="revealed once" hx-swap="beforeend" hx-target="#covers-container"{{end}}>
|
||||
<img src="{{$c.Url}}" width="300" height="370" data-comic="{{$c.Comic}}">
|
||||
</div>
|
||||
{{end}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue