blob: 70e8cb1b43c0d6811303c1952b114df51946dc50 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{% extends "base.html" %}
{% block content %}
<h1>{{ section.title }}</h1>
<p>Use <code>Ctrl + f</code> to search blog post titles for keywords.
<br>You can also add the <a href="/atom.xml">Atom RSS Feed</a> to your feed reader.</p>
{% set post_date = "1970-01-01" | date(format="%Y") %}
{% for page in section.pages %}
{% if post_date != page.date | date(format="%Y") %}
{% set_global post_date = page.date | date(format="%Y") %}
<h2>{{ post_date }}</h2>
{% endif %}
<div class="post">
<time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date }}</time>
<a href="/blog/{{ page.slug }}/">{{ page.title }}</a>
</div>
{% endfor %}
{% endblock content %}
|