Try to get the templating working, but it's being stubborn :-/

This commit is contained in:
Starbeamrainbowlabs 2020-02-10 00:22:02 +00:00
parent 05a7beb07c
commit 8c4162aac8
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 26 additions and 0 deletions

6
src/content/index.md Normal file
View File

@ -0,0 +1,6 @@
+++
title = "Pepperminty Wiki"
description = "A wiki in a box"
+++
This is some test text

20
src/templates/index.html Normal file
View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<main>
{% block content %}
{{ __tera_context }}
{{ }}
{% endblock content %}
</main>
</body>
</html>