From da6e9df534956e7bcf724738fe71a6582e787c52 Mon Sep 17 00:00:00 2001 From: Paulie-Aditya Date: Mon, 15 Sep 2025 19:57:21 +0530 Subject: [PATCH] feat: added bottom navbar to be able to navigate between videos easily --- layouts/_default/baseof.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 37f20a1714..0dec379d84 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -165,6 +165,17 @@

{{ .Params.video_title }}

+
+ {{ $prev := where .Site.RegularPages "Params.episode" (sub .Params.episode 1) }} + {{ with index $prev 0 }} + + {{ end }} + {{ $next := where .Site.RegularPages "Params.episode" (add .Params.episode 1) }} + {{ with index $next 0 }} + + {{ end }} +
+ {{ else if eq $section "about" }}