Fix missing Kindle cover thumbnail URL

This commit is contained in:
Alex Cabal 2018-12-30 17:09:12 -06:00
parent 62445437fc
commit 19dcf91049

View file

@ -95,7 +95,7 @@ catch(\Exception $ex){
<? } ?> <? } ?>
<? if($ebook->Azw3Url !== null){ ?> <? if($ebook->Azw3Url !== null){ ?>
<li><p><span><a href="<?= $ebook->Azw3Url ?>" class="amazon">azw3</a></span> <span></span> <span>Amazon Kindle devices and apps.<? if(!empty($metadata['kindleCoverFilename'])){ ?> Also download the <a href="<?= $wwwUrl ?>/dist/<?= $metadata['kindleCoverFilename'] ?>">Kindle cover thumbnail</a> to see the cover in your Kindles library.<? } ?></span></p> <li><p><span><a href="<?= $ebook->Azw3Url ?>" class="amazon">azw3</a></span> <span></span> <span>Amazon Kindle devices and apps.<? if($ebook->KindleCoverUrl !== null){ ?> Also download the <a href="<?= $ebook->KindleCoverUrl ?>">Kindle cover thumbnail</a> to see the cover in your Kindles library.<? } ?></span></p>
</li> </li>
<? } ?> <? } ?>