forked from varia/varia.website
48 lines
1.4 KiB
HTML
48 lines
1.4 KiB
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<section id="content">
|
|
{% block content_title %}
|
|
{% endblock %}
|
|
{% if articles_page.has_other_pages() %}
|
|
{% include 'pagination.html' %}
|
|
{% endif %}
|
|
<div id="post-list">
|
|
{% for article in articles_page.object_list %}
|
|
<article class="hentry">
|
|
<div class="article-info">
|
|
<span class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></span>
|
|
</div>
|
|
<div class="summary">{{ article.summary }}</div>
|
|
<div class="separator"><hr></div>
|
|
|
|
<!-- <div class="entry-content"> -->
|
|
<!-- {{ article.content }} -->
|
|
<!-- </div>/.entry-content -->
|
|
|
|
<div class="post-info">
|
|
<time class="published" datetime="{{ article.date.isoformat() }}">
|
|
<sup>published on {{ article.locale_date }}</sup>
|
|
</time>
|
|
{% if article.category %}
|
|
<div class="categories">
|
|
|
|
<span itemprop="articleSection">
|
|
(<a href="{{ SITEURL }}/{{ article.category.url }}" rel="category">{{ article.category }}</a>)
|
|
</span>
|
|
</div>
|
|
{% endif %} {% if article.tags %}
|
|
<div class="tags">
|
|
Tags: {% for tag in article.tags %}
|
|
<span itemprop="keywords">
|
|
<a href="{{ SITEURL }}/{{ tag.url }}" rel="tag">{{ tag }}</a>
|
|
</span> {% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</article>
|
|
{% endfor %}
|
|
</div><!-- /#posts-list -->
|
|
|
|
</section><!-- /#content -->
|
|
{% endblock content %}
|