summaryrefslogtreecommitdiff
path: root/src/index.njk
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-12-14 17:36:55 -0800
committerElizabeth Hunt <me@liz.coffee>2025-12-14 17:36:55 -0800
commit0888840cf20de2187095daa154ec441240a12ef3 (patch)
tree40b20808ecb31200978dc7de466d3e2102f987d6 /src/index.njk
downloadlizdotcoffee-0888840cf20de2187095daa154ec441240a12ef3.tar.gz
lizdotcoffee-0888840cf20de2187095daa154ec441240a12ef3.zip
Init
Diffstat (limited to 'src/index.njk')
-rw-r--r--src/index.njk23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/index.njk b/src/index.njk
new file mode 100644
index 0000000..064c05e
--- /dev/null
+++ b/src/index.njk
@@ -0,0 +1,23 @@
+---
+layout: base.njk
+title: Home
+---
+
+<h1>liz.coffee</h1>
+
+<p>A cute little blog with interactive toys.</p>
+
+<h2>Posts</h2>
+
+<ul>
+{%- for post in collections.all | reverse -%}
+ {%- if post.data.title -%}
+ <li>
+ <a href="{{ post.url }}">{{ post.data.title }}</a>
+ {%- if post.data.date -%}
+ <span> - {{ post.data.date | date: "%Y-%m-%d" }}</span>
+ {%- endif -%}
+ </li>
+ {%- endif -%}
+{%- endfor -%}
+</ul>