]> git.bitcoin.ninja Git - blog/commit
use next_page_path and previous_page_path
authorTom Anderson <tom@squeat.com>
Fri, 27 Feb 2015 23:34:40 +0000 (16:34 -0700)
committerTom Anderson <tom@squeat.com>
Fri, 27 Feb 2015 23:34:40 +0000 (16:34 -0700)
commit93de6537b3b8d309e7c89125bdaa269f122c54d6
tree80c67fe1c52fd6202b04e94f11d38a36c6ef0779
parent1757a0daff7ed97ef9b7074e8c135588b6b69380
use next_page_path and previous_page_path

Not only is this simpler, but it allows for changing of the default page paths.  For example if I want dashes in my page paths, I can set
`paginate_path: "/page-:num/"` in my _config.yml.
index.html