We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
prev_post
next_post
We've had a report of bugs with {{prev_post}} and {{next_post}} helpers:
{{prev_post}}
{{next_post}}
<aside class="read-next"> {{#next_post}} <a class="read-next-story {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}" href="{{url}}"> <section class="post"> <h2>{{title}}</h2> <p>{{excerpt words="19"}}…</p> </section> </a> {{/next_post}} {{#prev_post}} <a class="read-next-story prev {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}" href="{{url}}"> <section class="post"> <h2>{{title}}</h2> <p>{{excerpt words="19"}}…</p> </section> </a> {{/prev_post}} </aside> the prev_post and the next_post does not works, it output the last article in any post by next_post, the prev_post output nothing.
<aside class="read-next"> {{#next_post}} <a class="read-next-story {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}" href="{{url}}"> <section class="post"> <h2>{{title}}</h2> <p>{{excerpt words="19"}}…</p> </section> </a> {{/next_post}} {{#prev_post}} <a class="read-next-story prev {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}" href="{{url}}"> <section class="post"> <h2>{{title}}</h2> <p>{{excerpt words="19"}}…</p> </section> </a> {{/prev_post}} </aside>
the prev_post and the next_post does not works, it output the last article in any post by next_post, the prev_post output nothing.
@AileenCGN has also observed this behaviour but exact reproduction steps are currently missing.
The text was updated successfully, but these errors were encountered:
fix: prev next posts
f8ba124
closes TryGhost#7015
ebd59bf
kirrg001
Successfully merging a pull request may close this issue.
We've had a report of bugs with
{{prev_post}}
and{{next_post}}
helpers:@AileenCGN has also observed this behaviour but exact reproduction steps are currently missing.
The text was updated successfully, but these errors were encountered: