{{ define "header" }}

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 .Pages }} {{ $rating := index .Site.Data.compatibility .Params.compatibility }} {{ end }}
    Game Title Compatibility Date Tested
    {{ .Params.title }}
    {{ $rating.name }}
    {{ if .Params.testcase_date }} {{ dateFormat "January 2, 2006" .Params.testcase_date }} {{ else }} {{ end }}
    {{ end }} {{ define "scripts" }} {{ end }}