KT-personal-website/template/default/post.php
2024-12-06 11:34:32 +01:00

21 lines
No EOL
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>