mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-25 03:15:40 +01:00
Removed shuffle from screenshots.
This commit is contained in:
parent
1c66cdf28d
commit
006f27cf71
@ -163,7 +163,7 @@
|
|||||||
<div class="baguetteBox">
|
<div class="baguetteBox">
|
||||||
<div class="tile is-ancestor">
|
<div class="tile is-ancestor">
|
||||||
{{ $files := readDir (printf "/static/images/screenshots0/%s/" .File.BaseFileName) }}
|
{{ $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 .Name "-") 1) }}
|
||||||
{{ $fileTitle := (index (split $fileTitle ".") 0) }}
|
{{ $fileTitle := (index (split $fileTitle ".") 0) }}
|
||||||
<div class="tile is-parent">
|
<div class="tile is-parent">
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<div class="tile is-ancestor">
|
<div class="tile is-ancestor">
|
||||||
{{ $columns := 3 }}
|
{{ $columns := 3 }}
|
||||||
{{ $files := readDir "/static/images/screenshots/" }}
|
{{ $files := readDir "/static/images/screenshots/" }}
|
||||||
{{ range $index, $element := (shuffle $files) }}
|
{{ range $index, $element := $files }}
|
||||||
{{ $fileTitle := (index (split .Name "-") 1) }}
|
{{ $fileTitle := (index (split .Name "-") 1) }}
|
||||||
{{ $fileTitle := (index (split $fileTitle ".") 0) }}
|
{{ $fileTitle := (index (split $fileTitle ".") 0) }}
|
||||||
<div class="tile is-parent">
|
<div class="tile is-parent">
|
||||||
@ -24,4 +24,4 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user