21 lines
641 B
PHP
21 lines
641 B
PHP
|
<main class="blog">
|
||
|
<section>
|
||
|
<nav aria-label="breadcrumb" class="breadcrumb">
|
||
|
<ul>
|
||
|
<li><a href="/posts">Posts</a></li>
|
||
|
<li><a href="/posts?year=<?= $postInfo['year']; ?>"><?= $postInfo['year']; ?></a></li>
|
||
|
<li><?= $postInfo['month']; ?></li>
|
||
|
<li><?= $postInfo['title']; ?></li>
|
||
|
</ul>
|
||
|
</nav>
|
||
|
</section>
|
||
|
|
||
|
<article>
|
||
|
<h2><?= $postInfo['title']; ?></h2>
|
||
|
<?= $postContent; ?>
|
||
|
|
||
|
<div class="article-footer">
|
||
|
<?= $author; ?> | <?= $postInfo['modified_at']; ?>
|
||
|
</div>
|
||
|
</article>
|
||
|
</main>
|