citra-emu
/
citra-web
Archived
1
0
Fork 0

Tweaked games listings for smaller icons and more entries per page.

This commit is contained in:
chris062689 2017-06-04 13:57:52 -04:00
parent 46b1997e28
commit 15f89e2966
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,4 @@
{{ define "main" }}
{{ $paginator := .Paginate .Data.Pages }}
<h1>Game Compatibility List</h1>
<p>The Citra Emulator compatibility list contains all the games we tested, sorted by how well they work on the emulator.</p>
@ -53,10 +52,11 @@
</tr>
</thead>
<tbody>
{{ $paginator := .Paginate .Data.Pages 50 }}
{{ range $paginator.Pages }}
{{ $rating := index .Site.Data.compatibility ( string .Params.compatibility | default "0" ) }}
<tr>
<td><img class="img-responsive" src="{{ .Site.BaseURL }}images/game/icons/{{ default (print .File.BaseFileName ".png") }}" /></td>
<td><img class="img-responsive" style="width: 24px; height: 24px;" src="{{ .Site.BaseURL }}images/game/icons/{{ default (print .File.BaseFileName ".png") }}" /></td>
<td><a href="{{ .Permalink }}">{{ .Params.title }}</a></td>
<td>{{ $rating.name }}</td>
<td>{{ dateFormat "January 2, 2006" .Params.tested_date }}</td>