KT-personal-website/template/default/post.php

21 lines
641 B
PHP
Raw Normal View History

2024-10-22 12:26:08 +02:00
<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>