Set up base template

This commit is contained in:
Joscha 2023-08-05 14:22:31 +02:00
parent feb73c96c4
commit e17483b4d6
6 changed files with 73 additions and 44 deletions

View file

@ -1,16 +1,5 @@
<!DOCTYPE html>
<html>
{% extends "base.html" %}
<head>
<meta charset="utf-8" />
<title>index</title>
<script type="module" src="main.js"></script>
</head>
<body>
<h1>Hello</h1>
<p>The number from the DB is {{ number }}, yay!</p>
<button id="button">Click me!</button>
</body>
</html>
{% block body %}
<h1>{{ repo_name }}</h1>
{% endblock %}