diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ae71fb3..ce4f9e3 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,14 +7,14 @@ - + {{ .Render "meta" }} - {{ if .RSSLink }} + {{ if .OutputFormats.Get "RSS" }} {{ end }} @@ -101,7 +101,8 @@ - + {{ $mainJs := resources.Match "js/**.js" | resources.Concat "js/script.js" | minify }} + {{- block "scripts" . }}{{- end }} {{- if eq (getenv "HUGO_ENV") "PRD" }} diff --git a/layouts/game/list.html b/layouts/game/list.html index c324c1f..841a3b9 100644 --- a/layouts/game/list.html +++ b/layouts/game/list.html @@ -1,61 +1,195 @@ {{ define "header" }}
-
-

Game Compatibility List

-

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

- - - {{ range .Site.Data.compatibility }} - - - - - {{ end }} - -
-
{{ .name }} -
{{ .description }}
- - -
+
+

Game Compatibility List

+

+ The compatibility list contains all the games that have been tested, sorted by how well they work on the emulator. +

+ + + {{ range .Site.Data.compatibility }} + + + + + {{ end }} + +
+
+ {{ .name }} +
{{ .description }}
+ +
{{ end }} {{ define "main" }} -
- - +
+
+
+
    +
    +
    +
    +
    +
    + + + +
    + +
    +
    + + + +
    + + - - - + + + + - - + + {{ range sort .Pages "Params.title" "asc" }} {{ $rating := index .Site.Data.compatibility .Params.compatibility }} - - - + + + + {{ end }} - -
    Game TitleCompatibilityDate TestedGame TitleCompatibilityDate Tested
    - {{ .Params.title }} - -
    {{ $rating.name }} -
    - {{ if .Params.testcase_date }} - {{ dateFormat "January 2, 2006" .Params.testcase_date }} - {{ else }} - - {{ end }} - + {{ .Params.title }} + +
    + {{ $rating.name }} +
    + {{ if .Params.testcase_date }}{{ dateFormat "January 2, 2006" .Params.testcase_date }}{{ end }} +
    + + + +
    {{ end }} {{ define "scripts" }} + + + + + + {{ end }} diff --git a/layouts/partials/layout/pagination.html b/layouts/partials/layout/pagination.html index 90ee66c..fca1063 100755 --- a/layouts/partials/layout/pagination.html +++ b/layouts/partials/layout/pagination.html @@ -7,17 +7,17 @@