From 4f18d0c1e94377d3ec2f3a8e6a6943771dd289c1 Mon Sep 17 00:00:00 2001 From: "chris062689@gmail.com" Date: Sat, 10 Nov 2018 17:22:30 -0500 Subject: [PATCH] Updated GameDB single.html --- layouts/game/single.html | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/layouts/game/single.html b/layouts/game/single.html index d5413d8..968cfb6 100644 --- a/layouts/game/single.html +++ b/layouts/game/single.html @@ -30,7 +30,7 @@ {{ define "main" }} {{ $gameId := .File.BaseFileName }} {{ $rating := index .Site.Data.compatibility .Params.compatibility }} -
+
{{- if eq .Params.incomplete true }}
@@ -49,9 +49,15 @@
+ {{ if .Content }}

The below game entry is based on user submitted content.

See a mistake? Want to contribute? Edit this article on Github

+ {{ else }} +

The below game entry is based on user submitted content.

+

See a mistake? Want to contribute? Edit + this article on Github

+ {{ end }}
@@ -66,11 +72,10 @@ {{ end }}

Compatibility

- {{ if gt (len .Params.issues) 0 }} + {{ if gt (len .Params.testcases) 0 }} - @@ -83,7 +88,6 @@ {{ range .Params.testcases }} {{- $rating := index $siteCompatibility .compatibility }} - {{ end }} @@ -154,4 +158,4 @@

No screenshots have been uploaded for this game.

{{ end }} -{{ end }} \ No newline at end of file +{{ end }}
ID Build Date Tested By Hardware
{{ if isset . "id" }} {{ .id }} {{ end }} {{ if isset . "buildDate" }} {{ dateFormat "01/2/2006" .buildDate }} {{ end }} {{ .author }} @@ -92,10 +96,10 @@ {{ .cpu }}
{{ .gpu }}
{{ .os }}
{{ if isset . "buildName" }}{{ .buildName }} Build
{{ end }}{{ .version }}
- -
+
+ {{ $rating.name}} - +