lost-train/theme/templates/index.html

30 lines
749 B
HTML

{% extends "base.html" %}
{% block content_title %}
<a class="fl o-10" href="{{ SITEURL }} " title="title">{{ SITENAME }}</a>
{% endblock %}
{% block content %}
{% for category, articles in categories %}
{% if category.name == 'notes' %}
{% for article in articles %}
<article class="title">
<a href="{{ SITEURL }}/{{ article.url }}" class="db b pb2 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 %}
{% endif %}
{% endfor %}
{% endblock %}