-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Deprecation: posts.empty? should be changed to posts.docs.empty?.
Called by /usr/local/var/rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/octopress-ink-1.2.1/lib/octopress-ink/plugin/bootstrap.rb:163:in `posts?'.
https://github.com/octopress/ink/blob/master/lib/octopress-ink/plugin/bootstrap.rb#L163
Deprecation: posts.select should be changed to posts.docs.select.
Called by /usr/local/var/rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/octopress-ink-1.2.1/lib/octopress-ink/plugin/bootstrap.rb:171:in `linkposts?'.
https://github.com/octopress/ink/blob/master/lib/octopress-ink/plugin/bootstrap.rb#L171
I don't super understand the Jekyll code, but this deprecation was introduced when moving from 2.x to 3.x. It seems like there will be a breaking change at some point such that these (enumerable-ish? collection-ish?) methods will no longer be defined on whatever pages returns, but instead on pages.docs.
Should be a straightforward fix - I'll have a look.
Metadata
Metadata
Assignees
Labels
No labels