Skip to content

Commit 0b8cbac

Browse files
committed
fixed video ordering
1 parent 4c12eac commit 0b8cbac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)