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

Fixes #9 - Error: undefined method `[]' for true:TrueClass #10

Closed
wants to merge 1 commit into from

Conversation

taringamberini
Copy link

PROBLEM

The instructions given for the Usage page doesn't work after Octopress Initial setup.

CAUSE

Configuring Octopress as described at Initial setup leads to a _config.yml which contains the two lines:

paginate: 10          # Posts per page on the blog index
paginate_path: "posts/:num"  # Directory base for pagination URLs eg. /posts/2/

these two keys conflict in some way with the configuration ones used by this plugin.

SOLUTION

I've added the subsection Remove Octopress pagination defaults in which is suggested to remove the two lines.

#9

PROBLEM

The instructions given for the [Usage](https://github.com/octopress/paginate#usage) page doesn't work after Octopress [Initial setup](http://octopress.org/docs/setup/).

CAUSE

Configuring Octopress as described at [Initial setup](http://octopress.org/docs/setup/) leads to a `_config.yml` which contains the two lines:

    paginate: 10          # Posts per page on the blog index
    paginate_path: "posts/:num"  # Directory base for pagination URLs eg. /posts/2/

these two keys conflict in some way with the configuration ones used by this plugin.

SOLUTION

I've added the subsection `Remove Octopress pagination defaults` in which is suggested to remove the two lines.

octopress#9
@XhmikosR
Copy link
Contributor

@parkr: this can be closed I believe.

@parkr parkr closed this Sep 16, 2016
@parkr
Copy link
Member

parkr commented Sep 16, 2016

Thank you!

@musikele
Copy link

musikele commented Mar 2, 2017

I still have this problem...

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.

4 participants