thats not what its called
This commit is contained in:
parent
e5ea3267df
commit
40427a1bc4
|
@ -4,7 +4,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% for item in news_items %}
|
{% for item in news_items %}
|
||||||
<div>
|
<div>
|
||||||
<h3><a href="{% reverse 'news:detail' slug=item.slug %}">{{ item.title }}</a> <small>{{ item.published_at|date:"Y-m-d" }}</small></h3>
|
<h3><a href="{% url 'news:detail' slug=item.slug %}">{{ item.title }}</a> <small>{{ item.published_at|date:"Y-m-d" }}</small></h3>
|
||||||
</div>
|
</div>
|
||||||
{{ item.content|commonmark }}
|
{{ item.content|commonmark }}
|
||||||
{% if not forloop.last %}
|
{% if not forloop.last %}
|
||||||
|
|
Loading…
Reference in a new issue