crablog/static/index.tera
2018-10-13 01:52:11 +08:00

26 lines
625 B
Plaintext

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