Andy-set-studio / learneleventyfromscratch.com

In this Eleventy course, we go from a completely empty directory to a full-blown marketing site for a design agency, and along the way, we dive really deep into Eleventy and front-end development best practices.

Home Page:https://learneleventyfromscratch.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lesson 11 - Prev and Next pagination links are mislabeled

TomTilly opened this issue · comments

The blog.md code shown in Lesson 11 looks like this:

---
title: 'The Issue 33 Blog'
layout: 'layouts/feed.html'
pagination:
  data: collections.blog
  size: 5
permalink: 'blog{% if pagination.pageNumber > 0 %}/page/{{ pagination.pageNumber }}{% endif %}/index.html'
paginationPrevText: 'Newer posts'
paginationNextText: 'Older posts'
paginationAnchor: '#post-list'
---

The latest articles from around the studio, demonstrating our design
thinking, strategy and expertise.

The paginationPrevText and paginationNextText values should be swapped here.