Files
pelican-latex/templates/index.html
T
haemka 1bd70cb16b Added multilingual and theme switching support, fixed multiple
positioning issues, added articles to sidebar
2026-08-13 12:41:05 +02:00

39 lines
1.2 KiB
HTML

{% extends "base.html" %}
{% block content %}
<section id="content-section">
<ol id="post-list">
{% for article in articles_page.object_list %}
<li>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a>
</h2>
<div 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>
</div><!-- /.post-info -->
</header>
<div class="entry-content">
{{ article.summary }}
</div><!-- /.entry-content -->
</article>
</li>
{% endfor %}
</ol><!-- /#posts-list -->
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% endif %}
</section><!-- /#content-section -->
{% endblock content %}