mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 10:56:46 -04:00
Add link to author page on ebook page.
This commit is contained in:
parent
bd191254ae
commit
80e1ecc0d0
2 changed files with 8 additions and 1 deletions
|
@ -610,6 +610,13 @@ article.ebook > header > div > p{
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
article.ebook > header > div a,
|
||||||
|
article.ebook > header > div a:link,
|
||||||
|
article.ebook > header > div a:visited{
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
article.ebook > header > img{
|
article.ebook > header > img{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
|
@ -66,7 +66,7 @@ catch(\Exception $ex){
|
||||||
<div>
|
<div>
|
||||||
<h1><?= Formatter::ToPlainText($ebook->Title) ?></h1>
|
<h1><?= Formatter::ToPlainText($ebook->Title) ?></h1>
|
||||||
<? foreach($ebook->Authors as $author){ ?>
|
<? foreach($ebook->Authors as $author){ ?>
|
||||||
<p><?= Formatter::ToPlainText($author->Name) ?></p>
|
<p><a href="<?= Formatter::ToPlainText($ebook->AuthorsUrl) ?>"><?= Formatter::ToPlainText($author->Name) ?></a></p>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</div>
|
</div>
|
||||||
<img src="<?= $ebook->HeroImage2xUrl ?>" alt="The cover for the Standard Ebooks edition of <?= $ebook->Title ?>." />
|
<img src="<?= $ebook->HeroImage2xUrl ?>" alt="The cover for the Standard Ebooks edition of <?= $ebook->Title ?>." />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue