diff --git a/layouts/game/single.html b/layouts/game/single.html
index e8a540f..b9cabb3 100644
--- a/layouts/game/single.html
+++ b/layouts/game/single.html
@@ -137,9 +137,29 @@
{{ end }}
-
Screenshots
+ {{ if gt (len .Params.savefiles) 0 }}
+ Savefiles
+
+
+
+ Name |
+ Description |
+
+
+
+ {{ range .Params.savefiles }}
+
+ {{ .title }} |
+ {{ .description }} |
+
+ {{ end }}
+
+
+ {{ end }}
+
{{ $columns := 3 }}
{{ if (where (readDir "/static/images/screenshots0") "Name" .File.BaseFileName) }}
+ Screenshots
{{ $files := readDir (printf "/static/images/screenshots0/%s/" .File.BaseFileName) }}
@@ -160,8 +180,6 @@
{{ end }}
- {{ else }}
- No screenshots have been uploaded for this game.
{{ end }}
{{ end }}