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

Next & Prev post Links #1

Closed
PaulAdamDavis opened this issue Nov 28, 2014 · 0 comments · Fixed by #12
Closed

Next & Prev post Links #1

PaulAdamDavis opened this issue Nov 28, 2014 · 0 comments · Fixed by #12

Comments

@PaulAdamDavis
Copy link
Member

Requires TryGhost/Ghost#4262


Ghost doesn't have the concept of 'Next/Previous Post' yet, but when it does, this code below needs to be added to post.hbs and adapted to use the correct helpers.

All of the required CSS and icons are already in place and ready to go.

<div id="post_nav">
    <nav role="navigation">
        <a href="http://my-ghost-blog.com/the-newer-post" id="post_next" title="Next Post">
            <span aria-hidden="true" data-icon=">"></span>
            The Newer Post
        </a>
        <a href="http://my-ghost-blog.com/something-older" id="post_prev" title="Previous Post">
            Something Older
            <span aria-hidden="true" data-icon=">"></span>
        </a>
    </nav>
</div>
PaulAdamDavis added a commit to PaulAdamDavis/Roon that referenced this issue Apr 4, 2015
Closes TryGhost#1

- Added `{{#next_post}}` and `{{#prev_post}}` links using the pre-existing CSS
- Update package version from 1.0 to 1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant