I cannot get the example from the documentation of ignoreFiles to work in a brand new project.
Using Hugo 0.41 on macOS 10.11.6, I created a new site using hugo new site testing and added the following to config.toml as per the documentation of ignoreFiles:
ignoreFiles = [ "\\.foo$", "\\.boo$" ]
The documentation says that this should
cause Hugo to ignore files ending with
.fooand.boowhen rendering
but when I create a file at the path static/example.foo and run hugo, it is copied to public/example.foo, i.e. not ignored at all.
It seems that either there is a bug in Hugo or the documentation must be updated.
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
This is still valid and it seems there is a PR available #5312
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
I鈥檝e sent PR https://github.com/gohugoio/hugo/pull/5649 to address this issue
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
This isn鈥檛 stale, and I have sent a PR to fix the issue.
Ugh, this is exactly the problem I'm having! Thanks for the fix, I've built hugo from your fork.
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
This is still a valid issue and has a PR
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
This is still a valid issue and has a PR
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
Stale bots are great, aren't they? This is still a valid issue and has a PR.
Most helpful comment
I鈥檝e sent PR https://github.com/gohugoio/hugo/pull/5649 to address this issue