Add blog page and true home page

This commit is contained in:
Devon Campbell 2022-11-28 23:28:33 -08:00
commit 606ad98bb6
5 changed files with 301 additions and 259 deletions

19
src/_includes/article.njk Normal file
View file

@ -0,0 +1,19 @@
---
layout: base.njk
---
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/blog">Blog</a></li>
<li><a href="/feed.xml">RSS</a></li>
</ul>
</nav>
<h1>{{ title }}</h1>
<article class="bg glow">
{{ content | safe }}
</article>
<footer>
<p>Talk to me <a href="https://techhub.social/@RadDevon">on Mastodon.</a></p>
<a href="https://techhub.social/@RadDevon"><img src="/images/mastodon-logo.png" alt="Mastodon logo"></a>
</footer>