diff --git a/site/themes/citra-bs-theme/layouts/game/list.html b/site/themes/citra-bs-theme/layouts/game/list.html index ec11d7d..5d0789f 100644 --- a/site/themes/citra-bs-theme/layouts/game/list.html +++ b/site/themes/citra-bs-theme/layouts/game/list.html @@ -50,14 +50,12 @@ - {{ range .Data.Pages.GroupByParam "section_id" }} - {{ range .Pages }} {{- $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 }} + {{ .Params.title }} {{ $type.name }} {{ $rating.name }} @@ -72,11 +70,14 @@
{{ $rating.name }} - {{ dateFormat "January 2, 2006" .Params.testcase_date }} + {{ if .Params.testcase_date }} + {{ dateFormat "January 2, 2006" .Params.testcase_date }} + {{ else }} + + {{ end }} {{ end }} - {{ end }}