From 8e29a1fc5f7affcea88befe2c11cf9704d6838db Mon Sep 17 00:00:00 2001 From: BynariStar Date: Wed, 28 Jun 2017 03:14:39 +0300 Subject: [PATCH] Add compatibility filtering (#30) * Implement compatibility filtering * Fix indentation * Add clear button * Re-fix indentation * Fix clear bug * Re-re-fix indentation (this is getting annoying) * Rename button * Remove hardcoded ratings array --- .../citra-bs-theme/layouts/game/list.html | 55 ++++++++++++++++++- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/site/themes/citra-bs-theme/layouts/game/list.html b/site/themes/citra-bs-theme/layouts/game/list.html index 473a2ce..09d11e8 100644 --- a/site/themes/citra-bs-theme/layouts/game/list.html +++ b/site/themes/citra-bs-theme/layouts/game/list.html @@ -25,7 +25,7 @@ - +
@@ -46,7 +46,7 @@ {{ range .Pages }} {{- $rating := index .Site.Data.compatibility .Params.compatibility }} {{- $type := index .Site.Data.gameTypes (.Params.game_type | default "3ds") }} - + @@ -64,6 +64,49 @@
{{ .Params.title }}