Skip to content

Instantly share code, notes, and snippets.

@MitMaro
Created August 23, 2014 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MitMaro/af4680417bb95761fd0c to your computer and use it in GitHub Desktop.
Save MitMaro/af4680417bb95761fd0c to your computer and use it in GitHub Desktop.
Jekyll site for recreating a bug in Jekyll Paginate
mkdir website.jekyll
cd website.jekyll
mkdir _layouts _posts
touch _layouts/default.md
touch _posts/2000-01-01-title1.md _posts/2000-01-02-title2.md
cat > index.html << EOF
---
layout: default
---
EOF
cat > _config.yml << EOF
paginate: 1
paginate_path: ":path/page:num"
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment