Removed shuffle from screenshots.

This commit is contained in:
chris062689@gmail.com 2019-01-07 23:16:19 -05:00
parent 1c66cdf28d
commit 006f27cf71
2 changed files with 3 additions and 3 deletions

View File

@ -163,7 +163,7 @@
<div class="baguetteBox">
<div class="tile is-ancestor">
{{ $files := readDir (printf "/static/images/screenshots0/%s/" .File.BaseFileName) }}
{{ range $index, $element := (shuffle $files) }}
{{ range $index, $element := $files }}
{{ $fileTitle := (index (split .Name "-") 1) }}
{{ $fileTitle := (index (split $fileTitle ".") 0) }}
<div class="tile is-parent">

View File

@ -7,7 +7,7 @@
<div class="tile is-ancestor">
{{ $columns := 3 }}
{{ $files := readDir "/static/images/screenshots/" }}
{{ range $index, $element := (shuffle $files) }}
{{ range $index, $element := $files }}
{{ $fileTitle := (index (split .Name "-") 1) }}
{{ $fileTitle := (index (split $fileTitle ".") 0) }}
<div class="tile is-parent">
@ -24,4 +24,4 @@
{{ end }}
</div>
</section>
{{ end }}
{{ end }}