summaryrefslogtreecommitdiff
path: root/templates/blog.html
blob: 38b96c1fff2ab7dcbfdc18925c4470d67a38ef3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% extends "base.html" %} {% block title %} {{ section.title }} {% endblock
title %} {% block content %}
<h1>{{ section.title }}</h1>
<ul>
  <!-- If you are using pagination, section.pages will be empty.
       You need to use the paginator object -->
  {% for page in section.pages %}
  <li>
    <a href="{{ page.permalink | safe }}">{{ page.title }}</a>
    <time class="right" datetime="{{ page.date }}"
      >{{ page.date | date(format="%b %d, %Y") }}</time
    >
  </li>
  {% endfor %}
</ul>
{% endblock content %}