Use default template file

This commit is contained in:
Luke Murphy 2021-02-27 19:57:24 +01:00
parent 99cd4e5d6d
commit 0f3c2e758b
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 17 additions and 20 deletions

17
LogBot/index.html.j2 Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>{{ title }} - (Generator: LogBot)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body>
<h1>{{ title }}</h1>
{% for num, msg in db.items() %}
<div class="post">
<p class="key">[{{ num }}]</p>
<p class="message">{{ msg }}</p>
</div>
{% endfor %}
</body>
</html>

View File

@ -1,20 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>{{ title }} - (Generator: LogBot)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body>
<h1>{{ title }}</h1>
{% for num, msg in db.items() %}
<div class="post">
<p class="key">[{{ num }}]</p>
<p class="message">{{ msg }}</p>
</div>
{% endfor %}
</body>
</html>