@if (shownBook) {
@if (!compact) {
@if (coverUrl !== null) { cover-image }
@if (shownBook.description) {
} } @if (compact) { @if (coverUrl !== null) { cover-image } @if (shownBook.description) {
} }
@if (compact) {

{{ t('book-details.title') }} {{ shownBook.title }}

} @if ($authorNames(); as authorNames) {

{{ t('book-details.authors') }} @for (author of authorNames; track author; let i = $index) { {{ author }} @if (i !== authorNames.length - 1) { , } }

}

{{ t('book-details.publisher') }} {{ $publisherName() }}

@if ( shownBook.publishedDate !== 'undefined' && shownBook.publishedDate; as publishedDate ) {

{{ t('book-details.published') }} {{ publishedDate | date }}

} @if (shownBook.pageCount || shownBook.printedPageCount) {

{{ t('book-details.pages') }} {{ shownBook.pageCount || shownBook.printedPageCount }}

} @if (shownBook.language) {

{{ t('book-details.language') }} {{ shownBook.language | language }}

} @if (shownBook.isbn) {

{{ t('book-details.isbn') }} {{ shownBook.isbn | isbn }}

} @if (!compact) { }
}