Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IgnoreFiles config option #39

Open
wjdp opened this issue Jan 26, 2017 · 3 comments
Open

IgnoreFiles config option #39

wjdp opened this issue Jan 26, 2017 · 3 comments

Comments

@wjdp
Copy link
Owner

wjdp commented Jan 26, 2017

We have IgnoreDirs but should also allow ignoring files. Either:

  • Add IgnoreFiles config option. Messy when we need to wildcard match things, two implementations needed.
  • Combine the jobs of directory and file ignore, IgnorePaths, IgnoreDocs... do nice regex matching. Could be more work in code but provides a cleaner 'API'.
@thatsjet
Copy link

+1 for this feature.

Use case:
Trying to hide google verification files which are missing doctypes (because they're only one line). Workaround for now is to turn off the doctypes check, but would rather have that on for my other 400+ pages and just ignore the verification file.

@osterman
Copy link

Trying to hide google verification files which are missing doctypes (because they're only one line)

Hah! I was trying to get this working just now for the same exact purpose: google verification files.

@osterman
Copy link

For this particular issue, the better fix is to go to "alternative methods" and select "HTML tag" which gives you a meta tag to insert into the <head/> section of your templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants