pre-post addition
This commit is contained in:
24
src/gallery.njk
Normal file
24
src/gallery.njk
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
layout: page-lists.njk
|
||||
pagination:
|
||||
data: collections["gallery"]
|
||||
size: 13
|
||||
reverse: true
|
||||
alias: postlist
|
||||
eleventyNavigation:
|
||||
key: gallery
|
||||
order: 2
|
||||
title: gallery
|
||||
icon: fa-regular fa-images
|
||||
label: view the gallery
|
||||
---
|
||||
|
||||
<p class="centered">the gallery page is for finished art</p>
|
||||
<p class="centered">(or <a href="/tags/">browse by tags</a>)</p>
|
||||
|
||||
{% include "postlist.njk" %}
|
||||
|
||||
{# idk why these are backwards either #}
|
||||
{% set newerHref = pagination.href.previous %}
|
||||
{% set olderHref = pagination.href.next %}
|
||||
{% include "pagination.njk" %}
|
||||
Reference in New Issue
Block a user