feat: add root homepage to list editions
All checks were successful
Deploy to Cloudflare Pages / publish (push) Successful in 43s
All checks were successful
Deploy to Cloudflare Pages / publish (push) Successful in 43s
This commit is contained in:
parent
ba89a1784e
commit
2e8eb21a03
1 changed files with 14 additions and 0 deletions
14
index.njk
Normal file
14
index.njk
Normal 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>
|
||||||
Loading…
Reference in a new issue