Blog and Pages are now database driven, woo!

This commit is contained in:
Timothy Rogers 2020-08-01 23:52:45 -04:00
parent 34fe54c20c
commit 1f1cf3b71b
20 changed files with 137 additions and 24 deletions

View file

@ -1,6 +1,8 @@
<main role="main">
<div class="container">
<h1 class="mt-5"><?= esc($blog['title']); ?></h1>
<?= esc($blog['body']); ?>
<?= esc($blog['body'], 'raw'); ?>
<br />
<a href="/blog" class="btn btn-secondary">Back To Blog</a>
</div>
</main>