Render posts

This commit is contained in:
Andros Fenollosa
2021-06-02 07:35:26 +02:00
parent 997aebb204
commit 1524602e6d
11 changed files with 117 additions and 84 deletions

View File

@@ -32,12 +32,28 @@
</style>
<style media="all and (min-width: 601px)">
body {
background: green;
}
</style>
<!-- End CSS -->
</head>
<body>
<main>
<h1>RSSPaper</h1>
{% for item in data %}
<h2>{{ item.feed.title }}</h2>
<section>
{% for article in item.feed.entries %}
<article>
<header>
<h3>{{ article.title }}</h3>
</header>
<main>
{{ article.description.value|safe }}
</main>
</article>
{% endfor %}
</section>
{% endfor %}
</main>
</body>
</html>