summaryrefslogtreecommitdiff
path: root/themes/elenq/templates/index.html
blob: 8565cc39d2e008094aa93bd5f8a239225962ec7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends "base.html" %}
{% block content %}
<section id="content">
{% block content_title %}
<h2>Home</h2>
{% endblock %}

<ol id="post-list">
{% for article in articles_page.object_list %}
    <li><article class="hentry">
            <header>
                <h3 class="entry-title"><a class="text-nodeco-black" href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h3>
                <time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time> </header>
        <div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content -->
        <footer><a href="{{SITEURL}}/{{article.url}} ">Read More</a></footer>
        </article></li>
{% endfor %}
</ol><!-- /#posts-list -->
{% if articles_page.has_other_pages() %}
    {% include 'pagination.html' %}
{% endif %}
</section><!-- /#content -->
{% endblock content %}