From 0c5c8eac8e81a0599f855ff5b1f2fdb3eac30353 Mon Sep 17 00:00:00 2001 From: chris062689 Date: Tue, 25 Jul 2017 00:11:35 -0400 Subject: [PATCH] Compatibility table now outside of the foreach loop when looping test. --- .../citra-bs-theme/layouts/game/single.html | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/site/themes/citra-bs-theme/layouts/game/single.html b/site/themes/citra-bs-theme/layouts/game/single.html index 7f460ef..7c674ad 100644 --- a/site/themes/citra-bs-theme/layouts/game/single.html +++ b/site/themes/citra-bs-theme/layouts/game/single.html @@ -96,35 +96,35 @@ {{ if isset .Params "testcases" }} - {{ $siteCompatibility := .Site.Data.compatibility }} - {{ range .Params.testcases }} - {{- $rating := index $siteCompatibility .compatibility }} -
-
-

Compatibility

- - - - - - - - - - - - - - - - - - - -
DateTested ByHardwareCitra VersionRating
{{ dateFormat "January 2, 2006" .date }}{{ .author }}{{ .cpu }}
{{ .gpu }}
{{ .os }}
{{ .version }}
{{ $rating.name }}
-
-
- {{ end }} +
+
+

Compatibility

+ + + + + + + + + + + + {{ $siteCompatibility := .Site.Data.compatibility }} + {{ range .Params.testcases }} + {{- $rating := index $siteCompatibility .compatibility }} + + + + + + + + {{ end }} + +
DateTested ByHardwareCitra VersionRating
{{ dateFormat "January 2, 2006" .date }}{{ .author }}{{ .cpu }}
{{ .gpu }}
{{ .os }}
{{ .version }}
{{ $rating.name }}
+
+
{{ end }}