mirror of
https://github.com/Fluffy-Bean/Fluffys-website.git
synced 2024-12-28 18:26:05 +00:00
11 lines
321 B
HTML
11 lines
321 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 }} ago</p>
|
|
</a>
|
|
{% endfor %}
|
|
{% endblock %}
|