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" }}