2021-02-27 20:20:19 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf8">
|
|
|
|
<title>{{ title }} - (Generator: LogBot)</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="stylesheet.css">
|
2021-03-12 21:19:40 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2023-06-12 20:49:06 +02:00
|
|
|
<meta http-equiv="Refresh" content="300">
|
2021-02-27 20:20:19 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>{{ title }}</h1>
|
2023-06-12 20:49:06 +02:00
|
|
|
<p> {{ description }} </p>
|
2022-02-18 16:19:30 +01:00
|
|
|
(Follow this log: <a href="./feed.rss.xml">RSS</a>)
|
2021-04-23 20:05:15 +02:00
|
|
|
<div id="container">
|
2022-02-18 12:23:07 +01:00
|
|
|
{% for num in sorted_numbering | reverse %}
|
2021-12-12 15:28:01 +01:00
|
|
|
<div id="{{ num }}" class="post">
|
|
|
|
<p class="key">{{ num }}</p>
|
2022-02-18 12:23:07 +01:00
|
|
|
<p class="date">{{ db[num]['date'] }}</p>
|
2022-02-18 17:00:26 +01:00
|
|
|
{% if 'media' in db[num] %}
|
2022-02-18 17:11:12 +01:00
|
|
|
<p class="message">
|
2022-02-18 17:00:26 +01:00
|
|
|
{% if 'image' in db[num]['media']['type'] %}
|
2023-06-08 01:34:14 +02:00
|
|
|
<a href="{{ db[num]['media']['path'] }}"><img class='thumbnail' src="{{ db[num]['media']['data_url'] }}"></a>
|
2022-02-18 17:00:26 +01:00
|
|
|
{% elif 'application' in db[num]['media']['type'] %}
|
2023-06-08 01:34:14 +02:00
|
|
|
<a href="{{ db[num]['media']['path'] }}" loading="lazy">{{ db[num]['media']['filename']}}</a>
|
2022-02-18 17:00:26 +01:00
|
|
|
{% elif 'audio' in db[num]['media']['type'] %}
|
2022-06-17 12:58:36 +02:00
|
|
|
<audio src="{{ db[num]['media']['path'] }}" preload="none" controls></audio>
|
2022-02-18 17:00:26 +01:00
|
|
|
{% elif 'video' in db[num]['media']['type'] %}
|
2022-06-17 12:58:36 +02:00
|
|
|
<video src="{{ db[num]['media']['path'] }}" preload="none" controls></video>
|
2022-02-18 17:00:26 +01:00
|
|
|
{% endif %}
|
2023-06-08 01:34:14 +02:00
|
|
|
<figcaption>{{ db[num]['media']['caption'] | join("") }}</figcaption>
|
2022-02-18 17:00:26 +01:00
|
|
|
</p>
|
|
|
|
{% else %}
|
2022-02-18 17:11:12 +01:00
|
|
|
<p class="message">{{ db[num]['post'] }}</p>
|
2022-02-18 17:00:26 +01:00
|
|
|
{% endif %}
|
2021-04-23 20:05:15 +02:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<footer></footer>
|
2021-02-27 20:20:19 +01:00
|
|
|
</body>
|
|
|
|
</html>
|