Add content-generic layout and cookbook

This commit is contained in:
Starbeamrainbowlabs 2021-06-19 18:20:05 +01:00
parent 5362c8956e
commit ed5f583e04
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
5 changed files with 16 additions and 1 deletions

View file

@ -1,5 +1,5 @@
{ {
"layout": "theme.njk", "layout": "content-generic.njk",
"title": "Changelog", "title": "Changelog",
"tags": "navigable", "tags": "navigable",
"date": "2002-01-01" "date": "2002-01-01"

View file

@ -0,0 +1,6 @@
{
"layout": "content-generic.njk",
"title": "Cookbook",
"tags": "navigable",
"date": "2002-01-01"
}

1
.docs/Cookbook.md Symbolic link
View file

@ -0,0 +1 @@
../Cookbook.md

View file

@ -0,0 +1,7 @@
---
layout: theme.njk
---
<main class="panel-generic">
{{ content | safe }}
</main>

View file

@ -24,6 +24,7 @@
<li><a href="https://github.com/sbrl/Minetest-WorldEditAdditions/" class="nav image"><img src="{% image_urlpass 'images/github.svg' %}" alt="GitHub" title="GitHub" /></a></li> <li><a href="https://github.com/sbrl/Minetest-WorldEditAdditions/" class="nav image"><img src="{% image_urlpass 'images/github.svg' %}" alt="GitHub" title="GitHub" /></a></li>
</ul> </ul>
</nav> </nav>
{{ content | safe }} {{ content | safe }}
<footer class="shadow-top"> <footer class="shadow-top">