From 4d2e5de954e4e6c1f6b6bbd3c03fa9d4803cb332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 21 Feb 2026 17:09:59 +0100 Subject: [PATCH] fix: hide post navigation when no adjacent posts exist --- post.hbs | 42 ++++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-) 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 --}} - + {{else}} + {{#prev_post}} + + {{/prev_post}} + {{/next_post}} {{/is}} {{#is "post"}}