lost-train/theme/templates/index.html

28 lines
833 B
HTML

{% extends "base.html" %}
{% block content_header %}
<a class="b fl o-10" href="{{ SITEURL }}">{{ SITENAME }}</a>
<a class="b fr o-50" style="font-size: 0.5em;" href="{{ SITEURL }}/pages.html">|</a>
<a class="b fr o-50" style="font-size: 0.5em;" href="{{ SITEURL }}/categories.html">*</a>
{% endblock %}
{% block content %}
{% for article in articles_page.object_list | selectattr('category', '==', 'notes') %}
<article class="title pb2">
<a href="{{ SITEURL }}/{{ article.url }}" class="b o-50">
{{ article.title }}
</a>
</article>
<div>
{{ article.content }}
</div>
{% if not HIDE_DATE %}
<time class="db w-100 tr pb4 o-30" datetime="{{ article.date.isoformat() }}">
{{ article.date.isoformat() }}
</time>
{% endif %}
{% endfor %}
{% include 'pagination.html' %}
{% endblock %}