mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-21 22:45: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="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">
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user