Add /feeds

This commit is contained in:
Joakim Hellsén 2024-01-30 03:29:56 +01:00
commit 85ae466d3b
4 changed files with 54 additions and 8 deletions

19
templates/feeds.html Normal file
View file

@ -0,0 +1,19 @@
{% extends "base.html" %}
{% block title %}<title>Feeds</title>{% endblock %}
{% block description %}FeedVault - A feed archive{% endblock %}
{% block keywords %}RSS, Atom, Feed, Archive{% endblock %}
{% block content %}
{% for feed in object_list %}
<div class="feed">
<h2>
<a href="{{ feed.url }}">{{ feed.title }}</a>
</h2>
<p>{{ feed.description }}</p>
<p>
<small>Updated {{ feed.updated }}</small>
</p>
</div>
{% empty %}
<p>No feeds found.</p>
{% endfor %}
{% endblock %}