Browse Source

Use default template file

master
Luke Murphy 4 years ago
parent
commit
0f3c2e758b
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 17
      LogBot/index.html.j2
  2. 20
      LogBot/template.html

17
LogBot/index.html.j2

@ -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>

20
LogBot/template.html

@ -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>
Loading…
Cancel
Save