mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46: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;
|
||||
}
|
||||
|
||||
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{
|
||||
width: 100%;
|
||||
top: 0;
|
||||
|
|
|
@ -66,7 +66,7 @@ catch(\Exception $ex){
|
|||
<div>
|
||||
<h1><?= Formatter::ToPlainText($ebook->Title) ?></h1>
|
||||
<? 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>
|
||||
<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