From 263a52ce5e77d708b4a29404f8eb7f60496d1755 Mon Sep 17 00:00:00 2001 From: chris062689 Date: Sat, 3 Jun 2017 18:00:44 -0400 Subject: [PATCH] Added games list. --- .../citra-bs-theme/layouts/game/list.html | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 site/themes/citra-bs-theme/layouts/game/list.html diff --git a/site/themes/citra-bs-theme/layouts/game/list.html b/site/themes/citra-bs-theme/layouts/game/list.html new file mode 100644 index 0000000..2e03fff --- /dev/null +++ b/site/themes/citra-bs-theme/layouts/game/list.html @@ -0,0 +1,27 @@ +{{ define "main" }} + {{ $paginator := .Paginate .Data.Pages }} + + + + + + + + + + + + {{ range $paginator.Pages }} + {{ $rating := index .Site.Data.compatibility ( string .Params.compatibility | default "0" ) }} + + + + + + + {{ end }} + +
TitleCompatibilityDate Tested
{{ .Params.title }}{{ $rating.name }}{{ dateFormat "January 2, 2006" .Params.tested_date }}
+ + {{ partial "pagination" . }} +{{ end }}