mirror of
https://github.com/tanrax/RSSPAPER.git
synced 2025-11-20 09:56:10 -05:00
Render posts
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user