@if (searchQuery) { } @if (books.length > 0 || searchQuery) {
@if (isLoading) { @for (i of [1,2,3]; track i) {
} } @else if (books.length > 0) { @for (book of books; track book; let idx = $index) {

{{ book.metadata?.title | slice: 0:70 }}

@if (book.metadata?.authors?.length ?? 0 > 0) {

{{ t('byPrefix') }} {{ getAuthorNames(book.metadata?.authors) }}

} @if (getPublishedYear(book.metadata?.publishedDate)) { }
@if (getSeriesInfo(book.metadata?.seriesName, book.metadata?.seriesNumber)) { }
} } @else {
{{ t('noResults') }}
}
}