Use eleventyImport to control rebuilds of tag, blog, and feed pages
Build and copy to prod / build-and-copy (push) Successful in 1m51s

This commit is contained in:
Lewis Dale committed 2024-04-11 07:03:25 +01:00
1 parent acdab8b321
commit 1584068b59
8 files changed
+22 -2

No files matched your search

+2
View File
@@ -5,6 +5,8 @@ pagination:
data: collections.posts
size: 5
reverse: true
eleventyImport:
collections: ["posts"]
---
<main class="wrapper-lg stack-xl">
<h1>Blog posts</h1>
+3
View File
@@ -14,6 +14,9 @@
"atom": "{{ page.url }}atom.xml",
"json": "{{ page.url }}feed.json"
}
},
"eleventyImport": {
"collections": ["tags", "posts"]
}
}
---