Is it possible to define which exact pages to build? #1745
Replies: 3 comments 4 replies
-
Closest I can think of is the input parameter. |
Beta Was this translation helpful? Give feedback.
-
I think some people have cleverly used the .eleventyignore file in the past to only build a subset of their site during local development (where you might only want to build 10 blog posts vs 2000+). |
Beta Was this translation helpful? Give feedback.
-
The idea is to be able to run parallel builds for the same website. For example, if I have website consisting of 100 000 pages I would like to be able to execute 20 parallel builds (for example in AWS lambda) where each build processes 5000 pages. But at the same time I want to keep the website structure, pagination, etc., where in the end I can upload all the final files from 20 workers in the one S3 bucket. That is what I am trying to achieve. |
Beta Was this translation helpful? Give feedback.
-
I wonder if it is possible (and how) to tell Eleventy to build only particular page or set of pages? For example build only particular page (specified via permalink ?), or build all (or define number) pages from the posts section (
/posts/*
), etc.I can dig into Eleventy source code, but if someone already has an answer it would be great. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions