bots/LogBot/template.html

25 lines
719 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>{{ title }} - (Generator: LogBot)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h1>{{ title }}</h1>
(Follow this log: <a href="./feed.rss">RSS</a>)
<div id="container">
{% for num in sorted_numbering | reverse %}
<div id="{{ num }}" class="post">
<p class="key">{{ num }}</p>
<p class="date">{{ db[num]['date'] }}</p>
{% if 'media' in db[num] %}<p class="media">{{ db[num]['media']['post'] }}</p>{% endif %}
<p class="message">{{ db[num]['post'] }}</p>
</div>
{% endfor %}
</div>
<footer></footer>
</body>
</html>