feat: add root homepage to list editions
All checks were successful
Deploy to Cloudflare Pages / publish (push) Successful in 43s

This commit is contained in:
Dirty REdOG 2026-07-04 18:23:24 -05:00
parent ba89a1784e
commit 2e8eb21a03

14
index.njk Normal file
View file

@ -0,0 +1,14 @@
---
layout: base.njk
title: Le Daily Squirrel
---
<h1>Welcome to Le Daily Squirrel</h1>
<p>Your automated daily newspaper.</p>
<h2>Latest Editions</h2>
<ul>
{%- for post in collections.edition | reverse -%}
<li><a href="{{ post.url }}">{{ post.data.title | default(post.fileSlug) }}</a></li>
{%- endfor -%}
</ul>