19 lines
645 B
HTML
19 lines
645 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block main -%}
|
|
<article>
|
|
{% if page.title -%}
|
|
<h1>{{ page.title }}</h1>
|
|
{% endif -%}
|
|
<ul>
|
|
{% for post in posts -%}
|
|
<li><a href="{{base_url | trim_end_matches(pat='/') | safe}}{{post.absolute_path | safe}}">{% if post.date -%}
|
|
<time datetime="{{ post.date }}">{{ post.date | date(format="%F") }}</time> - {{ post.title -}}
|
|
{% else -%}
|
|
{{ post.title -}}
|
|
{% endif -%}
|
|
</a></li>
|
|
{% endfor -%}
|
|
</ul>
|
|
</article>
|
|
{% endblock main -%}
|