From e7d4e9eb67e3da69f361f4358a1534a41a77445c Mon Sep 17 00:00:00 2001 From: "chris062689@gmail.com" Date: Tue, 16 Oct 2018 20:33:45 -0400 Subject: [PATCH] Updated GameDB theme. --- layouts/game/list.html | 119 ++++++++++++++++++++--------------------- layouts/game/meta.html | 20 +++---- 2 files changed, 70 insertions(+), 69 deletions(-) diff --git a/layouts/game/list.html b/layouts/game/list.html index 310f8bc..15894cd 100644 --- a/layouts/game/list.html +++ b/layouts/game/list.html @@ -3,18 +3,18 @@

Game Compatibility List

- The Citra Emulator compatibility list contains all the games we tested, sorted by how well they work on the emulator. + The compatibility list contains all the games we tested, sorted by how well they work on the emulator.

- {{ range .Site.Data.compatibility }} - - - - - {{ end }} + {{ range .Site.Data.compatibility }} + + + + + {{ end }}
-
{{ .name }} -
{{ .description }}
+
{{ .name }} +
{{ .description }}
@@ -24,8 +24,8 @@ {{ end }} {{ define "main" }} -
- +
+
@@ -36,61 +36,60 @@ {{ range .Data.Pages.GroupByParam "section_id" }} - {{ range .Pages }} - {{ $rating := index .Site.Data.compatibility .Params.compatibility }} - {{ $type := index .Site.Data.gameTypes (.Params.game_type | default "3ds") }} - - - - - - - - {{ end }} + {{ range .Pages }} + {{ $rating := index .Site.Data.compatibility .Params.compatibility }} + {{ $type := index .Site.Data.gameTypes (.Params.game_type | default "3ds") }} + + + + + + + + {{ end }} {{ end }} -
 
- - - {{ .Params.title }} - -
{{ $rating.name }} -
- {{ dateFormat "January 2, 2006" .Params.testcase_date }} -
+ + + {{ .Params.title }} + +
{{ $rating.name }} +
+ {{ dateFormat "January 2, 2006" .Params.testcase_date }} +
-
+
{{ end }} {{ define "scripts" }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/game/meta.html b/layouts/game/meta.html index 152f9f1..96ae3e2 100644 --- a/layouts/game/meta.html +++ b/layouts/game/meta.html @@ -1,10 +1,12 @@ -{{- $rating := index .Site.Data.compatibility .Params.compatibility }} - - +{{ if .IsPage }} + {{ $rating := index .Site.Data.compatibility .Params.compatibility }} + + - - - -{{- range .Params.tags }} - -{{- end }} + + + + {{ range .Params.tags }} + + {{ end }} +{{ end }}