From 221268d388f8867eeaeb71cec2d0c370370d43d2 Mon Sep 17 00:00:00 2001 From: chris062689 Date: Sun, 9 Jul 2017 19:47:13 -0400 Subject: [PATCH] Corrected build errors for data-key alphanumeric list. --- site/themes/citra-bs-theme/layouts/game/list.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/themes/citra-bs-theme/layouts/game/list.html b/site/themes/citra-bs-theme/layouts/game/list.html index 4db19fb..c61c4b6 100644 --- a/site/themes/citra-bs-theme/layouts/game/list.html +++ b/site/themes/citra-bs-theme/layouts/game/list.html @@ -53,9 +53,10 @@ {{ range .Data.Pages.GroupByParam "section_id" }} {{ range .Pages }} + {{- $key := substr .Params.title 0 1 }} {{- $rating := index .Site.Data.compatibility .Params.compatibility }} {{- $type := index .Site.Data.gameTypes (.Params.game_type | default "3ds") }} - + {{ .Params.title }} {{ $type.name }} {{ $rating.name }} {{ dateFormat "January 2, 2006" .Params.testcase_date }}