mirror of
https://github.com/Fluffy-Bean/Fluffys-website.git
synced 2025-06-22 01:46:16 +00:00
:3
This commit is contained in:
parent
43665fb930
commit
384aa2b152
173 changed files with 10 additions and 30637 deletions
10
templates/views/articles.html
Normal file
10
templates/views/articles.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% 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|date:"jS M, Y" }}</p>
|
||||
</a>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue