Skip to content

Paginate category #37

@alessiofx

Description

@alessiofx

When I use:

paginate:
collection: work
per_page: 10
limit: false
permalink: /:num/
categories: [Advertising]

compile error:
Incremental build: disabled. Enable with --incremental Generating... Deprecation: Document#categories is now a key in the #data hash. Deprecation: Called by /Library/Ruby/Gems/2.0.0/gems/octopress-paginate-1.2.0/lib/octopress-paginate.rb:148:in block in collection'.
Deprecation: Document#categories is now a key in the #data hash.
Deprecation: Called by /Library/Ruby/Gems/2.0.0/gems/octopress-paginate-1.2.0/lib/octopress-paginate.rb:148:in block in collection'. Deprecation: Document#categories is now a key in the #data hash. Deprecation: Called by /Library/Ruby/Gems/2.0.0/gems/octopress-paginate-1.2.0/lib/octopress-paginate.rb:148:in block in collection'.
Deprecation: Document#categories is now a key in the #data hash.
Deprecation: Called by /Library/Ruby/Gems/2.0.0/gems/octopress-paginate-1.2.0/lib/octopress-paginate.rb:148:in block in collection'. Deprecation: Document#categories is now a key in the #data hash. Deprecation: Called by /Library/Ruby/Gems/2.0.0/gems/octopress-paginate-1.2.0/lib/octopress-paginate.rb:148:in block in collection'.
Deprecation: Document#categories is now a key in the #data hash.
Deprecation: Called by /Library/Ruby/Gems/2.0.0/gems/octopress-paginate-1.2.0/lib/octopress-paginate.rb:148:in block in collection'. Deprecation: Document#categories is now a key in the #data hash. Deprecation: Called by /Library/Ruby/Gems/2.0.0/gems/octopress-paginate-1.2.0/lib/octopress-paginate.rb:148:in block in collection'.
Deprecation: Document#categories is now a key in the #data hash.
Deprecation: Called by /Library/Ruby/Gems/2.0.0/gems/octopress-paginate-1.2.0/lib/octopress-paginate.rb:148:in block in collection'. Deprecation: Document#categories is now a key in the #data hash. Deprecation: Called by /Library/Ruby/Gems/2.0.0/gems/octopress-paginate-1.2.0/lib/octopress-paginate.rb:148:in block in collection'.
Deprecation: Document#categories is now a key in the #data hash.
Deprecation: Called by /Library/Ruby/Gems/2.0.0/gems/octopress-paginate-1.2.0/lib/octopress-paginate.rb:148:in block in collection'. Deprecation: Document#categories is now a key in the #data hash. Deprecation: Called by /Library/Ruby/Gems/2.0.0/gems/octopress-paginate-1.2.0/lib/octopress-paginate.rb:148:in block in collection'.
Deprecation: Document#categories is now a key in the #data hash.
Deprecation: Called by /Library/Ruby/Gems/2.0.0/gems/octopress-paginate-1.2.0/lib/octopress-paginate.rb:148:in block in collection'.

Why ??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions