-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Using yaml anchors crashes with sanitize_filename #68
Comments
I used https://learnxinyminutes.com/docs/yaml/ to learn about anchors. |
Hi the issue is with the data type used to generate the name. The plugin expects a string and the argument passed is an array. One solution could be using
Another possibility could be that of using string interpolators, e.g.:
but I am not sure whether you can use these constructs in a YAML file. |
Thank you very much for your replay @avillafiorita Unfortunately none of your suggestions work. I have found the following websites:
But even this one doesn't get me anywhere. |
You can try changing the
the important lines are those checking whether the input is an If you do not care about replacing accented chars, you can directly return from the condition, that is:
let me know! |
Hi
thank you for that great and very useful plugin.
jekyll serve --trace produce the following error:
My data-file:
I configured in _config.yml
Is't it possible to use anchors with jekyll-datapage_gen?
Can you please solve the problem or give me an advice?
Thank you very much in advance.
Tristan
The text was updated successfully, but these errors were encountered: