Add archive layout and abstract syntax headers
[disinclined.org.git] / notes / index.html
1 ---
2 layout: note
3 ---
4
5 {% for page in paginator.posts %}
6 <article class="note">
7 <div class="note-content">
8 <div class="page-title">
9 <span class='page-date'>
10 {{ page.date | date: '%Y-%m-%d' }}
11 </span> /
12 <span class='page-title'>
13 <a href="{{ page.url }}">
14 {{ page.title }}
15 </a>
16 </span>
17 </div>
18 {{ page.content }}
19 </div>
20 </article>
21 {% endfor %}
22
23 {% if paginator.previous_page %}
24 <a href="{{ paginator.previous_page_path }}">
25 previous
26 </a>
27 {% endif %}
28
29 {% if paginator.next_page_path %}
30 <div class="pagination">
31 <a href="{{ paginator.next_page_path }}">
32 next
33 </a>
34 </div>
35 {% endif %}