Use eleventyImport to control rebuilds of tag, blog, and feed pages
Build and copy to prod / build-and-copy (push) Successful in 1m51s
Build and copy to prod / build-and-copy (push) Successful in 1m51s
This commit is contained in:
1 parent
acdab8b321
commit
1584068b59
8 files changed
+22
-2
No files matched your search
@@ -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>
|
||||
|
||||
@@ -14,6 +14,9 @@
|
||||
"atom": "{{ page.url }}atom.xml",
|
||||
"json": "{{ page.url }}feed.json"
|
||||
}
|
||||
},
|
||||
"eleventyImport": {
|
||||
"collections": ["tags", "posts"]
|
||||
}
|
||||
}
|
||||
---
|
||||
|
||||
Reference in new issue
Block a user