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

How do I exclude a directory with a number for a name? #2542

Closed
alexandtheweb opened this issue Jun 25, 2014 · 3 comments
Closed

How do I exclude a directory with a number for a name? #2542

alexandtheweb opened this issue Jun 25, 2014 · 3 comments

Comments

@alexandtheweb
Copy link

How do I exclude several directories in my _config.yml if those directories have numbers for a name? For example:

exclude: [2014,2013]

Gives me:

"..no implicit conversion of Fixnum into String (TypeError)"

@kleinfreund
Copy link

Does this work?

exclude:
  - "2013"
  - "2014"

@parkr
Copy link
Member

parkr commented Jun 25, 2014

If you quote the numbers, they will be strings. We could probably call #to_s on all input.

@alexandtheweb
Copy link
Author

Thank you both, that did it.

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants