pelican-website-ge/ge-theme/templates/index.html
2021-05-06 20:56:25 +03:00

42 lines
1.6 KiB
HTML

{% extends "base.html" %}
{% block head %}
{{ super() }}
<link rel="stylesheet" type="text/css" href="{{SITEURL}}/theme/css/index-styles.css">
{% endblock %}
{% block content %}
<section id="content">
{% block content_title %}
<h2 class="try">All articles</h2>
{% endblock %}
<ul class="ul-style" id="post-list">
{% for article in articles_page.object_list %}
<li class="li-style"><article class="article-display">
<div class="row">
<div class="col-sm-6">
</div>
<div class="col-sm-6">
<header> <h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
<footer class="post-info">
<time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time>
<address class="vcard author">By
{% for author in article.authors %}
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
{% endfor %}
</address>
</footer><!-- /.post-info -->
<div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content -->
</div>
</div>
</article></li>
{% endfor %}
</ul><!-- /#posts-list -->
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% endif %}
</section><!-- /#content -->
{% endblock content %}