Basic code for generating a previous/next article links using Perch.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
post.php
post_next.html
post_prev.html

README.md

perch-blog-nav

Basic code for generating a previous/next article links using Perch CMS. The php grabs the previous and next post by published date and uses the html templates to generate the markup. If there is no previous or next post their is a fallback in the php to make sure the html is complete.