diff --git a/layouts/game/single.html b/layouts/game/single.html index db38e5f..894181a 100644 --- a/layouts/game/single.html +++ b/layouts/game/single.html @@ -163,7 +163,7 @@
{{ $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) }}
diff --git a/layouts/screenshots/single.html b/layouts/screenshots/single.html index aefda32..27c1ab8 100644 --- a/layouts/screenshots/single.html +++ b/layouts/screenshots/single.html @@ -7,7 +7,7 @@
{{ $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) }}
@@ -24,4 +24,4 @@ {{ end }}
-{{ end }} \ No newline at end of file +{{ end }}