-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (33 loc) · 930 Bytes
/
index.html
File metadata and controls
36 lines (33 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
layout: default
back_button: "/posts"
permalink: "/notes/{% if pagination.pageNumber > 0 %}page/{{ pagination.pageNumber | plus: 1 }}/{% endif %}"
redirect_from: /notes/page/1
noindex: true
pagination:
data: collections.notes
size: 15
reverse: true
alias: notes
eleventyComputed:
title: "Notes{% if pagination.pages.length > 1 %} - Page {{pagination.pageNumber | plus: 1}} of {{pagination.pages.length}}{% endif %}"
---
<div class="container h-feed">
<h1 class="post-list-heading p-name">
{{ page.list_title | default: "Notes" }}
</h1>
<p>
Short thoughts and replies that weren't a whole blog post.
</p>
<ol class="post-list">
{%- for post in notes -%}
<li>
{% include "post-card.html" post: post %}
</li>
{%- endfor -%}
</ol>
<p class="blog-alternates">
<span class="rss-subscribe"><a href="/subscribe">Subscribe for updates</a></span>
</p>
{% include "pagination.html" %}
</div>