aggregator / templates /index.html
ntdservices's picture
Upload 4 files
d00d00a verified
raw
history blame contribute delete
428 Bytes
<!DOCTYPE html>
<html>
<head>
<title>News + X Aggregator</title>
</head>
<body>
<h1>Latest News + X Posts</h1>
<ul>
{% for item in articles %}
<li style="margin-bottom: 20px;">
<strong>{{ item.title }}</strong><br/>
<small>{{ item.published }} — {{ item.source }}</small><br/>
<a href="{{ item.link }}" target="_blank">Read more</a>
</li>
{% endfor %}
</ul>
</body>
</html>