Updating default template adding Bubo version

This commit is contained in:
George Mandis 2021-12-05 13:35:10 -08:00
parent 16a2525518
commit 11a4042bdf

View File

@ -1,56 +1,56 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>🦉 Bubo Reader</title> <title>🦉 Bubo Reader</title>
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css" />
</head> </head>
<body> <body>
<h1>🦉 Bubo Reader</h1>
<h1>🦉 Bubo Reader</h1> {% for group, feeds in data %}
<h2>{{ group }}</h2>
{% for group, feeds in data %} {% for feed in feeds %}
<h2>{{ group }}</h2> <details>
{% for feed in feeds %} <summary>
<details> <span class="feed-title">{{ feed.title }}</span>
<summary> <span class="feed-url">({{ feed.feed }})</span>
<span class="feed-title">{{ feed.title }}</span> </summary>
<span class="feed-url">({{ feed.feed }})</span> <ul>
</summary> {% for item in feed.items %}
<ul> <li>
{% for item in feed.items %} {{ item.timestamp | formatDate }} -
<li> <a
{{ item.timestamp | formatDate }} - <a href="{{ item.link }}" target='_blank' rel='noopener norefferer nofollow'>{{ item.title }}</a> href="{{ item.link }}"
</li> target="_blank"
{% endfor %} rel="noopener norefferer nofollow"
</ul> >{{ item.title }}</a
</details> >
{% endfor %} </li>
{% endfor %} {% endfor %}
</ul>
{% if errors | length > 0 %} </details>
{% endfor %} {% endfor %} {% if errors | length > 0 %}
<h2>Errors</h2> <h2>Errors</h2>
<p>There were errors trying to parse these feeds:</p> <p>There were errors trying to parse these feeds:</p>
<ul> <ul>
{% for error in errors %} {% for error in errors %}
<li>{{ error }}</li> <li>{{ error }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
<br> <br />
<hr> <hr />
<p> <p>Last updated {{ now }}.</p>
Last updated {{ now }}. <p>
</p> Powered by
<p> <a href="https://github.com/georgemandis/bubo-rss"
Powered by <a href="https://github.com/georgemandis/bubo-rss">Bubo Reader (2.0.0)</a>, a project by <a href="https://george.mand.is">George Mandis</a>. >Bubo Reader (v{{ info.version }})</a
</p> >, a project by <a href="https://george.mand.is">George Mandis</a>. ❤️
<p> <a href="{{ info.funding.url }}">Sponsor on GitHub</a>
<a href='https://github.com/sponsors/georgemandis'>❤️ Sponsor on GitHub</a> </p>
</p> </body>
</body>
</html> </html>