blob: f69c926d1fc873ad6b782fc74d63752ee234adfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<div class="article-list">
{% for article in articles_page.object_list %}
<article>
{# Article meta information #}
<p class="article-meta">
<time datetime="{{ article.date }}">
{{ article.date | strftime("%B %d, %Y") }}
</time>
in
<a href="{{ SITEURL }}/{{ article.category.url }}">
{{ article.category.name }}
</a>
{% if DISPLAY_ARTICLE_AUTHORS %}
by
{% for author in article.authors %}
<a href="{{ SITEURL }}/{{ author.url }}">{{ author.name }}</a>{% if not loop.last %}, {% endif %}
{% endfor %}
{% endif %}
</p>
<h1>
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
</h1>
<div class="tags">
<ul class="tags">
{% for tag in article.tags %}
<li>
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag.name }}</a>
</li>
{% endfor %}
</ul>
</div>
<p>{{ article.description }}</p>
<a class="read-more-link" href="{{ SITEURL }}/{{ article.url }}">Read more …</a>
</article>
{% endfor %}
</div>
|