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

Update jekylltoghost.rb to work with Jekyll 4.0.0 #1

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

tamersalama
Copy link

I was getting undefined method length' for nil:NilClass (NoMethodError) from jekyll-4.0.0/lib/jekyll/static_file.rb:148:in cleaned_relative_path'`.

extname (dir and name) as well as relative_path were empty (and they were part of Jekyll::StaticFile intializer. Added the setters to GhostPage initializer.

I was getting `undefined method `length' for nil:NilClass (NoMethodError) from `jekyll-4.0.0/lib/jekyll/static_file.rb:148:in `cleaned_relative_path'`.

extname (dir and name) as well as relative_path were empty (and they were part of Jekyll::StaticFile intializer. Added the setters to GhostPage initializer.
@mekomlusa
Copy link
Owner

LGTM. Thank you, Tamer!

@mekomlusa mekomlusa merged commit 57a2040 into mekomlusa:master Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants