crablog/static/index.tera
2018-10-23 16:24:08 +08:00

26 lines
672 B
Plaintext

{% extends "base" %}
{% block body %}
<header>
<section class="container">
<h1>{{ setting.title }}</h1>
<p>{{ setting.description }}</p>
</section>
</header>
<content>
<section class="container">
{% for article in articles %}
<section class="article">
<p class="mate">{{ article.timestamp | date(format="%B %d, %Y") }}</p>
<a class="title" href="{% if article.article.url %}{{ article.article.url }}{% else %}archives/{{ article.article.id }}{% endif %}">{{ article.article.title }}</a>
<section class="yue desc">
{{ article.description }}
</section>
</section>
{% endfor %}
</section>
</content>
{% endblock body %}