From e29bae77ca40531569e27fe6e1a8711abb721fd2 Mon Sep 17 00:00:00 2001 From: adesh_ghadage Date: Thu, 12 Dec 2024 23:30:19 +0530 Subject: [PATCH] cleaned code --- layouts/partials/posts_navigation.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/posts_navigation.html b/layouts/partials/posts_navigation.html index 501d6391bb1b1..1e91018a24dda 100644 --- a/layouts/partials/posts_navigation.html +++ b/layouts/partials/posts_navigation.html @@ -6,9 +6,9 @@ {{$prev = $.Site.GetPage $.Site.Language.Lang .}} {{ end }} - {{- with .Params.next -}} + {{ with .Params.next }} {{$next = $.Site.GetPage $.Site.Language.Lang .}} - {{- end -}} + {{ end }} {{ if or $prev $next }}