Add blog page and true home page
This commit is contained in:
parent
38d54312f5
commit
606ad98bb6
5 changed files with 301 additions and 259 deletions
19
src/_includes/article.njk
Normal file
19
src/_includes/article.njk
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue