File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,17 @@ <h2>{{ .Params.video_title }}</h2>
165
165
< div id ="video-container ">
166
166
< iframe src ="https://player.vimeo.com/video/{{ .Params.ext_id }}?title=0&byline=0&portrait=0&color=f14e32 " width ="635 " height ="360 " frameborder ="0 " webkitAllowFullScreen mozallowfullscreen allowFullScreen > </ iframe >
167
167
</ div >
168
+ < div class ="bottom-nav " style ="display: block; ">
169
+ {{ $prev := where .Site.RegularPages "Params.episode" (sub .Params.episode 1) }}
170
+ {{ with index $prev 0 }}
171
+ < a class ="previous " href ="{{ .RelPermalink }} "> ← Previous</ a >
172
+ {{ end }}
173
+ {{ $next := where .Site.RegularPages "Params.episode" (add .Params.episode 1) }}
174
+ {{ with index $next 0 }}
175
+ < a class ="next " href ="{{ .RelPermalink }} "> Next →</ a >
176
+ {{ end }}
177
+ </ div >
178
+
168
179
</ div >
169
180
{{ else if eq $section "about" }}
170
181
< div id ="main ">
You can’t perform that action at this time.
0 commit comments