Skip to content

Commit c01cff5

Browse files
committed
fixed: ordering of videos has been fixed at: /videos to show episodes 1 and 3 on the left column, and 2 and 4 on the right column
1 parent 4c12eac commit c01cff5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

layouts/shortcodes/videos.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<ul class="video-thumbnails">
1212
{{ range $i, $video := $videos }}
1313
{{ $group := mod $i 2 }}
14-
{{ if eq $group 1 }}
14+
{{ if eq $group 0 }}
1515
<li>
1616
<a href="{{ relURL "video" }}/{{ $video.Params.link }}"><img src="{{ relURL "images/video" }}/ep{{ print $video.Params.episode $img_suffix }}.png" {{ $dimensions }}></a>
1717
<h4>
@@ -29,7 +29,7 @@ <h4>
2929
<ul class="video-thumbnails">
3030
{{ range $i, $video := $videos }}
3131
{{ $group := mod $i 2 }}
32-
{{ if eq $group 0 }}
32+
{{ if eq $group 1 }}
3333
<li>
3434
<a href="{{ relURL "video" }}/{{ $video.Params.link }}"><img src="{{ relURL "images/video" }}/ep{{ print $video.Params.episode $img_suffix }}.png" {{ $dimensions }}></a>
3535
<h4>

0 commit comments

Comments
 (0)