Load the ignore patterns from the site config
(self, site)
| 6 | Define configurable ignore patterns for static files and pages |
| 7 | """ |
| 8 | def preBuild(self, site): |
| 9 | """ |
| 10 | Load the ignore patterns from the site config |
| 11 | """ |
| 12 | self.ignore_patterns = site.config.get('ignore', []) |
| 13 | |
| 14 | def preBuildPage(self, page, context, data): |
| 15 | if not self.accept_path(page.source_path): |