From e4f1063f77efb47949f91905d9e2422076197a5b Mon Sep 17 00:00:00 2001 From: BynariStar Date: Wed, 19 Jul 2017 02:10:57 +0300 Subject: [PATCH 1/5] Formatting and indentation --- site/themes/citra-bs-theme/layouts/game/list.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site/themes/citra-bs-theme/layouts/game/list.html b/site/themes/citra-bs-theme/layouts/game/list.html index c61c4b6..760cba8 100644 --- a/site/themes/citra-bs-theme/layouts/game/list.html +++ b/site/themes/citra-bs-theme/layouts/game/list.html @@ -54,11 +54,11 @@ {{ 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") }} - {{ .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 }} @@ -70,10 +70,10 @@ -
{{ $rating.name }} +
{{ $rating.name }} - {{ dateFormat "January 2, 2006" .Params.testcase_date }} + {{ dateFormat "January 2, 2006" .Params.testcase_date }} {{ end }} From 8f7c17161b7f99e6ae74c3de693f6ee29f585198 Mon Sep 17 00:00:00 2001 From: BynariStar Date: Wed, 19 Jul 2017 02:16:06 +0300 Subject: [PATCH 2/5] Replace search function --- site/themes/citra-bs-theme/layouts/game/list.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/site/themes/citra-bs-theme/layouts/game/list.html b/site/themes/citra-bs-theme/layouts/game/list.html index 760cba8..bac9ea9 100644 --- a/site/themes/citra-bs-theme/layouts/game/list.html +++ b/site/themes/citra-bs-theme/layouts/game/list.html @@ -91,6 +91,7 @@