crablog/static/index.tera

26 lines
625 B
Plaintext
Raw Normal View History

2018-10-10 11:19:33 +04:00
{% extends "base" %}
{% block body %}
2018-10-11 19:35:09 +04:00
<header>
<section class="container">
<h1>Rubble</h1>
<p>description of rubble application</p>
2018-10-11 19:35:09 +04:00
</section>
</header>
<content>
<section class="container">
2018-10-06 11:29:08 +04:00
{% for post in posts %}
2018-10-12 21:52:11 +04:00
<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>
2018-10-10 11:19:33 +04:00
{% endfor %}
2018-10-12 21:52:11 +04:00
2018-10-11 19:35:09 +04:00
</section>
</content>
2018-10-10 11:19:33 +04:00
{% endblock body %}