New year updates
This commit is contained in:
36
content/now/index.njk
Normal file
36
content/now/index.njk
Normal 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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user