diff --git a/site/themes/citra-bs-theme/layouts/game/list.html b/site/themes/citra-bs-theme/layouts/game/list.html index 2c93570..b2ba651 100644 --- a/site/themes/citra-bs-theme/layouts/game/list.html +++ b/site/themes/citra-bs-theme/layouts/game/list.html @@ -55,7 +55,9 @@ {{ .Params.title }} {{ $type.name }} {{ $rating.name }} - + {{ if (fileExists (print "static/images/game/icons/" .File.BaseFileName ".png")) }} + + {{ end }} {{ .Params.title }} diff --git a/site/themes/citra-bs-theme/layouts/game/single.html b/site/themes/citra-bs-theme/layouts/game/single.html index d1ced6d..30603f5 100644 --- a/site/themes/citra-bs-theme/layouts/game/single.html +++ b/site/themes/citra-bs-theme/layouts/game/single.html @@ -39,9 +39,11 @@

{{ .Title }}

-
- -
+ {{ if (fileExists (print "static/images/game/boxart/" .File.BaseFileName ".png")) }} +
+ +
+ {{ end }}
@@ -67,7 +69,11 @@ Game Icon - + + {{ if (fileExists (print "static/images/game/icons/" .File.BaseFileName ".png")) }} + + {{ end }} + Title IDs