Implement now burning
This commit is contained in:
19
content/once-burned/index.njk
Normal file
19
content/once-burned/index.njk
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
layout: layouts/base.njk
|
||||
title: "Nathan Upchurch | Once Burned: Incense I've burning in the past."
|
||||
structuredData: none
|
||||
---
|
||||
{% set burning = collections.nowBurning | last %}
|
||||
|
||||
<h1>Previous “Now Burning” Entries:</h1>
|
||||
{% set postsCount = collections.nowBurning | removeMostRecent | length %}
|
||||
{% if postsCount > 1 %}
|
||||
{% set postslist = collections.nowBurning | removeMostRecent %}
|
||||
{% set showPostListHeader = false %}
|
||||
{% include "incenseList.njk" %}
|
||||
{% else %}
|
||||
<p>Nothing’s here yet!</p>
|
||||
{% endif %}
|
||||
<a href="/now-burning/">
|
||||
<button type="button">Latest »</button>
|
||||
</a>
|
Reference in New Issue
Block a user