Skip to content

Commit b54adbe

Browse files
committed
rename pages.njk to paged.njk
1 parent 3e800e1 commit b54adbe

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

File renamed without changes.

articles/index.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: pages.njk
2+
layout: paged.njk
33
title: Articles
44
pagination:
55
data: collections.articles

eleventy.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export default function (eleventyConfig) {
3838

3939
// add templates for all tags
4040
knownTags.forEach(tag => {
41-
eleventyConfig.addTemplate(`tags/${slugify(tag)}.njk`, `<p>All articles with the tag <em>{{ title | lower }}</em></p>`, {
42-
layout: 'pages.njk',
41+
eleventyConfig.addTemplate(`tags/${slugify(tag)}.njk`, `<p>All articles with the tag <em>${tag}</em></p>`, {
42+
layout: 'paged.njk',
4343
title: tag,
4444
pagination: {
4545
data: `collections.${tag}`,

0 commit comments

Comments
 (0)