35 lines
942 B
HTML
35 lines
942 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="posts">
|
|
<h1 class="post-title">
|
|
<a>Models</a>
|
|
</h1>
|
|
{% for article in articles %}
|
|
{% if article.category == 'models' %}
|
|
<div class="post">
|
|
{{ article.image }}
|
|
<h1 class="post-title" href="{{ SITEURL }}/{{ article.url }}">
|
|
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
|
|
</h1>
|
|
<span class="post-date">{{ article.locale_date }}</span>
|
|
{% if article.tags %}
|
|
<span class="post-tags">
|
|
Tags:
|
|
<ul>
|
|
{% for tag in article.tags %}
|
|
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</span>
|
|
{% endif %}
|
|
<p>
|
|
{{ article.summary }}
|
|
</p>
|
|
<a class="read-more" href="{{ article.url }}">Continue reading »</a>
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|