demo-hackernews-with-django.../app/web/templates/pages/list.html
Andros Fenollosa a901b8d54a Add API
2021-06-22 15:43:26 +02:00

12 lines
290 B
HTML

{% extends 'layouts/base.html' %}
{% block title %}Welcome{% endblock %}
{% block main %}
{% for item in news %}
<article>
<h2>{{ item.title }}</h2>
<p>
<a href="{{ item.url }}">Ver completo</a>
</p>
</article>
{% endfor %}
{% endblock %}