From 8a78ee2b9f7a70c6af2b9f4f11b64007d1481624 Mon Sep 17 00:00:00 2001 From: Nathan Upchurch Date: Fri, 24 Jan 2025 14:20:16 -0600 Subject: [PATCH] Improve now page --- content/now.njk | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/content/now.njk b/content/now.njk index c5b3ff3..061dd01 100644 --- a/content/now.njk +++ b/content/now.njk @@ -6,11 +6,24 @@ structuredData: none

Now: Life updates.

{% set now = collections.now | last %} -

{{ now.data.title }}

+

{{ now.data.title }} • {{ now.date | niceDate }}

{{ now.content | safe }}
-

Updated on the {{ now.date | niceDate }} by {{ metadata.author.name }} | What is a now page?

+
+ + + + + + + +
{% set postsCount = collections.now | removeMostRecent | length %} {% if postsCount > 1 %}

Previous Entries:

@@ -19,3 +32,4 @@ structuredData: none {% include "postslist.njk" %} {% endif %} +