hide empty strings in isbns
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
David 2023-10-14 16:42:46 -04:00
parent 95b269ca05
commit f282b10c05

View File

@ -154,7 +154,7 @@ function BookTemplate({
<div class="bookDetails">
<h1>${title}</h1>
<h2>${authors}</h2>
<span>${[isbn10, isbn13].join(" / ")}</span><br/>
<span>${[isbn10, isbn13].filter((v) => v != "").join(" / ")}</span><br/>
<span>${publisher}, ${year}</span><br/>
${
series