Featured idea: .hugoignore

Apparently, Eleventy has a .eleventyignore file (see here), so you can ignore groups of content files when building. In development, it would be nice for me to be able to say “ignore content from before 2021” to get faster builds. Something like

# .hugoignore

Would this work?



Haha, @bep is always two steps ahead.

1 Like

Also note that in the upcoming Hugo 0.89.0, you can do this on a much more fine grained level and for all the file systems (including /static):

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.