New year updates

This commit is contained in:
2026-01-01 18:54:20 -06:00
parent 015f52a705
commit 4d279bb7f1
29 changed files with 211 additions and 133 deletions

36
content/now/index.njk Normal file
View File

@@ -0,0 +1,36 @@
---
eleventyExcludeFromCollections: true
layout: layouts/base.njk
title: Nathan Upchurch | Now
structuredData: none
---
<article class="post">
<h1>Now: Life updates.</h1>
{% set now = collections.now | last %}
<h2>{{ now.data.title }} • {{ now.date | niceDate }}</h2>
{{ now.content | safe }}
</article>
<div class="buttonContainer">
<a class="link-button" href="/feeds/now.xml">
<button type="button">
<img src="/img/RSS.svg">
Subscribe to “Now” Posts
</button>
</a>
<a class="link-button" href="https://nownownow.com/about">
<button type="button">
What is a now page?
</button>
</a>
</div>
{% set postsCount = collections.now | removeMostRecent | length %}
{% if postsCount > 1 %}
<h2>Previous Entries:</h2>
{% set postslist = collections.now | removeMostRecent %}
{% set showPostListHeader = false %}
{% include "postslist.njk" %}
{% endif %}