some changes to how news listing display on the home page

This commit is contained in:
Anton McClure 2020-12-30 11:58:26 -05:00
parent 387c124b2d
commit 3933270eef
1 changed files with 6 additions and 3 deletions

View File

@ -71,10 +71,13 @@ $parser = Tildeverse\Wiki\Parser::factory();
<div class="list-group">
<div class="list-group-item">
<h3 class="list-group-item-heading"><?=$yaml["title"]?></h3>
<a href="/news/<?=basename($page, ".md")?>"><h3 class="list-group-item-heading"><?=$yaml["title"]?></h3></a>
<em>
<a href="/news/<?=basename($page, ".md")?>">
<?=$yaml["date"]?></a> - <a href="/~<?=$yaml["author"]?>/"><?=$yaml["author"]?></a>
<?=$yaml["date"]?>
</em>
&bull;
<em>
<a href="/~<?=$yaml["author"]?>/"><?=$yaml["author"]?></a>
</em>
<hr>
<div class="list-group-item-text"><?=$parsed->getContent()?></div>