diff --git a/post.hbs b/post.hbs index 2c0dd5a..b00318c 100644 --- a/post.hbs +++ b/post.hbs @@ -50,24 +50,38 @@ {{/if}} {{!-- Next/Prev Navigation --}} - - - {{#prev_post}} - - ← Previous Post - {{title}} - - {{/prev_post}} - - - {{#next_post}} + {{#next_post}} + + + {{#../prev_post}} + + ← Previous Post + {{title}} + + {{/../prev_post}} + + Next Post → {{title}} - {{/next_post}} - - + + + {{else}} + {{#prev_post}} + + + + ← Previous Post + {{title}} + + + + {{!-- No next post --}} + + + {{/prev_post}} + {{/next_post}} {{/is}} {{#is "post"}}