Try to get the templating working, but it's being stubborn :-/
This commit is contained in:
parent
05a7beb07c
commit
8c4162aac8
2 changed files with 26 additions and 0 deletions
6
src/content/index.md
Normal file
6
src/content/index.md
Normal 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
20
src/templates/index.html
Normal 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>
|
Loading…
Reference in a new issue