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

alexandtheweb opened this Issue Jun 25, 2014 · 3 comments


None yet
4 participants

alexandtheweb commented Jun 25, 2014

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:

" implicit conversion of Fixnum into String (TypeError)"


This comment has been minimized.


kleinfreund commented Jun 25, 2014

Does this work?

  - "2013"
  - "2014"

This comment has been minimized.


parkr commented Jun 25, 2014

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


This comment has been minimized.

alexandtheweb commented Jun 25, 2014

Thank you both, that did it.

parkr added a commit that referenced this issue Jun 25, 2014

@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.