diff --git a/site/themes/citra-bs-theme/layouts/game/single.html b/site/themes/citra-bs-theme/layouts/game/single.html index ca6961e..d8b9156 100644 --- a/site/themes/citra-bs-theme/layouts/game/single.html +++ b/site/themes/citra-bs-theme/layouts/game/single.html @@ -1,5 +1,7 @@ {{ define "main" }} + {{ $gameName := .File.BaseFileName }} {{ $rating := index .Site.Data.compatibility ( string .Params.compatibility | default "0" ) }} +
@@ -44,6 +46,10 @@ Tested Version {{ .Params.tested_version }} + + Game Icon + + Title IDs @@ -64,6 +70,79 @@
-

{{ .Params.Description }}

+ +

{{ .Params.Description }}

{{ .Content }} + + {{ if (where (readDir "/static/savefiles") "Name" .File.BaseFileName) }} +
+
+

Savefiles

+ + + + + + + + + + + {{ range .Params.savefiles }} + + + + + + + {{ end }} + +
NameDescriptionUploaded ByDate
{{ .title }}{{ .description }}{{ .author }}{{ dateFormat "January 2, 2006" .date }}
+
+
+ {{ end }} + + {{ if (where (readDir "/static/images/screenshots0") "Name" .File.BaseFileName) }} +
+
+

Screenshots

+ {{ $files := readDir (printf "/static/images/screenshots0/%s/" .File.BaseFileName) }} + {{ range $index, $element := $files }} + + {{ end }} +
+
+ {{ end }} + +{{ end }} + +{{ define "scripts" }} + + + + {{ end }}