Start templating engine.

This commit is contained in:
jmsgrogan 2022-10-12 09:01:19 +01:00
parent c0bcfaccac
commit cdd0cc6b78
9 changed files with 230 additions and 1 deletions

14
test/data/index.html Normal file
View file

@ -0,0 +1,14 @@
{% extends "base.html" %}
{% block title %}Index{% endblock %}
{% block head %}
{{ super() }}
<style type="text/css">
.important { color: #336699; }
</style>
{% endblock %}
{% block content %}
<h1>Index</h1>
<p class="important">
Welcome to my awesome homepage.
</p>
{% endblock %}