parent
60e1a513e1
commit
750123e0f9
|
@ -53,10 +53,9 @@
|
||||||
{{ range .Data.Pages.GroupByParam "section_id" }}
|
{{ range .Data.Pages.GroupByParam "section_id" }}
|
||||||
|
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
{{- $key := substr .Params.title 0 1 }}
|
|
||||||
{{- $rating := index .Site.Data.compatibility .Params.compatibility }}
|
{{- $rating := index .Site.Data.compatibility .Params.compatibility }}
|
||||||
{{- $type := index .Site.Data.gameTypes (.Params.game_type | default "3ds") }}
|
{{- $type := index .Site.Data.gameTypes (.Params.game_type | default "3ds") }}
|
||||||
<tr data-key="{{ $key }}">
|
<tr data-key="{{ .Params.section_id }}">
|
||||||
<td class="hidden listing-metadata">
|
<td class="hidden listing-metadata">
|
||||||
<span>{{ .Params.title }} {{ $type.name }} {{ $rating.name }} {{ dateFormat "January 2, 2006" .Params.testcase_date }}</span>
|
<span>{{ .Params.title }} {{ $type.name }} {{ $rating.name }} {{ dateFormat "January 2, 2006" .Params.testcase_date }}</span>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -341,6 +341,18 @@ tbody td {
|
||||||
margin: 0 20px;
|
margin: 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Used for showing section id at the start of each game section */
|
||||||
|
.key:after {
|
||||||
|
content: attr(data-key);
|
||||||
|
position: absolute;
|
||||||
|
left: -10px;
|
||||||
|
font-family: Dosis,"Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||||
|
text-transform: lowercase;
|
||||||
|
color: #888;
|
||||||
|
margin: 15px 0;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Downloads */
|
/* Downloads */
|
||||||
#updater-view, #manual-view, .dl-updater-button, #dl-unknown, #dl-autodetect {
|
#updater-view, #manual-view, .dl-updater-button, #dl-unknown, #dl-autodetect {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
Reference in New Issue