Hi,
I think you can try to use robots.txt with the following rules:
Block one folder
`User-agent: *
Disallow: /folder/
`
Block one file
`User-agent: *
Disallow: /file.html
`
More detailed information you can find here: https://moz.com/learn/seo/robotstxt
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!