From 13f1d080ed31614d7a89515d2e31312afb3806e9 Mon Sep 17 00:00:00 2001 From: alifeee <alifeeerenn@hotmail.com> Date: Tue, 5 Dec 2023 01:40:03 +0000 Subject: [PATCH] add article list --- index.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/index.html b/index.html index 0187915..d388aa7 100644 --- a/index.html +++ b/index.html @@ -6,3 +6,17 @@ <p>o kama pona lon lipu pi lipu tenpo!</p> <p>mi mute li pali e lipu tenpo nanpa wan pi toki pona.</p> <hr /> +{% for lipu in lipu %} +<article> + <img + class="lipu-cover" + src="pdfs/{{ lipu.cover-image }}" + alt="{{ lipu.title }} cover image" + /> + <h2> + <a href="lipu-tenpo-{{ lipu.title | slugify }}">{{ lipu.title }}</a> + </h2> + <p>{{ lipu.title }}</p> + <p>{{ lipu.date | date: "%B %d, %Y" }}</p> +</article> +{% endfor %}