summaryrefslogtreecommitdiffstats
path: root/templates/blog.html
blob: c32451b18272401c1b8f5ec74f6782437f7d0e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends "default.html" %}
{% block head %}
<link rel="alternate" type="application/atom+xml" href="{{ site.baseurl }}/blog.atom.xml" />
{% endblock %}
{% block content %}
<h1>Posts</h1>
<ul class="postlist">{% for post in page.posts %}
  <li><time>{{ post.date|datefmt }}</time> | <a href="{{ '/' + post.location }}">{{ post.title }}</a>{% endfor %}
</ul>
{% if page.tags %}
<ul class="taglist">
  <li>All tags:</li>{% for tag in page.tags %}
  <li><a href="{{ '/tag/' + tag + '.html' }}">{{ tag }}</a></li>{% endfor %}
</ul>{% endif %}
{% endblock %}