Corrected build errors for data-key alphanumeric list.
This commit is contained in:
parent
fa6fc6375f
commit
221268d388
|
@ -53,9 +53,10 @@
|
||||||
{{ 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="{{ $key }}">
|
||||||
<td class="hidden listing-metadata">
|
<td class="hidden listing-metadata">
|
||||||
{{ .Params.title }} {{ $type.name }} {{ $rating.name }} {{ dateFormat "January 2, 2006" .Params.testcase_date }}
|
{{ .Params.title }} {{ $type.name }} {{ $rating.name }} {{ dateFormat "January 2, 2006" .Params.testcase_date }}
|
||||||
</td>
|
</td>
|
||||||
|
|
Reference in New Issue