You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
938 B

<article class="card">
<% let scanlatorID = scan.scanlator.replace('-', '') %>
<div class="card__img img_<%=scanlatorID %>" style="background-image: url(<%=result.img%>)">
<% if(result.favorite){%>
<%-include('bookmarked.ejs', {scanlator, title:result.title, link:encodeURIComponent(result.link), id:result.favorite}) %>
<% } else { %>
<%-include('bookmark.ejs', {scanlator, title:result.title, link:encodeURIComponent(result.link)}) %>
<% } %>
<%- include('status.ejs', {status:result.Status}) %>
</div>
<div
class="card__info"
hx-get="/manga/<%= scanlator %>/<%=result.link?encodeURIComponent(result.link):'nolink'%>/<%= result.title %>"
hx-target="#container"
hx-trigger="click"
>
<h3 class="card__title"><%= result.title %> </h3>
<p> Latest Chapter: <%= result.latestChap %> </p>
</div>
</article>