old-website/templates/views/articles.html
Michał 0ddc2a20b2 Add darkmode
Prettier titles
2023-07-21 13:25:33 +01:00

11 lines
317 B
HTML

{% extends 'base.html' %}
{% block content %}
<h1>Articles</h1>
{% for article in articles %}
<a href="{% url 'articles:detail' slug=article.slug %}" class="article">
<h2>{{ article.title }}</h2>
<p>{{ article.date|timesince }}</p>
</a>
{% endfor %}
{% endblock %}