From 006f27cf711620c35f6038bd8dfbc408f9f789be Mon Sep 17 00:00:00 2001 From: "chris062689@gmail.com" Date: Mon, 7 Jan 2019 23:16:19 -0500 Subject: [PATCH] Removed shuffle from screenshots. --- layouts/game/single.html | 2 +- layouts/screenshots/single.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 }}