add notes index
authorDylan Lloyd <dylan@disinclined.org>
Sat, 4 Feb 2023 15:44:08 +0000 (10:44 -0500)
committerDylan Lloyd <dylan@disinclined.org>
Sat, 4 Feb 2023 15:44:08 +0000 (10:44 -0500)
notes/index.html [new file with mode: 0644]

diff --git a/notes/index.html b/notes/index.html
new file mode 100644 (file)
index 0000000..b2452e4
--- /dev/null
@@ -0,0 +1,34 @@
+---
+layout: note
+---
+
+{% for page in paginator.posts %}
+    <article class="note">
+      <div class="note-content">
+          <div class="page-title">
+            <span class='page-date'>
+                {{ page.date | date: '%Y-%m-%d' }}
+            </span> /
+            <span class='page-title'>
+                <a href="{{ page.url }}">
+            {{ page.title }}
+                </a>
+            </span>
+          </div>
+        {{ page.content }}
+      </div>
+    </article>
+{% endfor %}
+
+{% if paginator.previous_page %}
+<a href="{{ paginator.previous_page_path }}">
+    previous
+</a>
+{% endif %}
+{% if paginator.next_page_path %}
+<div class="pagination">
+<a href="{{ paginator.next_page_path }}">
+    next
+</a>
+</div>
+{% endif %}