homebrewserver.club/themes/homebrewtheme/templates/index.html

33 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2019-06-12 15:08:48 +02:00
{% extends "base.html" %}
{% block content %}
<section id="content">
{% block content_title %}
{% endblock %}
<ol id="post-list">
2019-07-01 11:44:55 +02:00
{% for article in articles_page.object_list if not article.title | lower == 'introduction' %}
2019-06-24 10:58:09 +02:00
<ul class="post-item"><article class="hentry">
2019-06-12 15:08:48 +02:00
<header>
2019-06-24 12:41:08 +02:00
<div class="index-entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></div>
2019-06-12 15:08:48 +02:00
</header>
<div class="post-info">
<time class="published" datetime="{{ article.date.isoformat() }}"> <sup>{{ article.locale_date }}</sup> </time>
<address class="vcard author">
By {% for author in article.authors %}
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
{% endfor %}
</address>
2019-06-12 15:08:48 +02:00
</div><!-- /.post-info -->
2019-06-24 12:41:08 +02:00
<div class="entry-content">
{{ article.summary }}</div>
2019-06-12 15:08:48 +02:00
<!-- /.entry-content -->
<!--<div id="moaaar"><a href="{{SITEURL}}/{{ article.url }}">moaaar</a></div> -->
2019-06-12 15:08:48 +02:00
</article></ul>
{% endfor %}
</ol><!-- /#posts-list -->
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% endif %}
</section><!-- /#content -->
{% endblock content %}