Platform: {{ .Title }}
--
- -
Games »
- -- - -
- {{ with .Params.game_platform }}
- Played on: {{ . }}
+ {{ $platform := .CurrentSection.Title }}
+ {{ with .CurrentSection.Params.platform }}
+ Played on: {{ $platform }}
{{ end }}
{{ with .Params.game_genre }}
{{ $tag := replaceRE `\s` "-" . }}
diff --git a/themes/jefklak-creative-portfolio/layouts/_default/terms.html b/themes/jefklak-creative-portfolio/layouts/_default/terms.html
index 01ae938..c44d32f 100644
--- a/themes/jefklak-creative-portfolio/layouts/_default/terms.html
+++ b/themes/jefklak-creative-portfolio/layouts/_default/terms.html
@@ -29,7 +29,7 @@
- A {{ .Params.game_genre }} game on the {{ .Params.game_platform }} By {{ .Params.game_developer }} in {{ .Params.game_release_year }} that takes about {{ .Params.howlongtobeat_hrs }} hour(s) to beat. + A {{ .Params.game_genre }} game by {{ .Params.game_developer }} in {{ .Params.game_release_year }} that takes about {{ .Params.howlongtobeat_hrs }} hour(s) to beat.
{{ partial "score" . }} diff --git a/themes/jefklak-creative-portfolio/layouts/partials/portfoliolite.html b/themes/jefklak-creative-portfolio/layouts/partials/portfoliolite.html index 1b12389..298a41d 100644 --- a/themes/jefklak-creative-portfolio/layouts/partials/portfoliolite.html +++ b/themes/jefklak-creative-portfolio/layouts/partials/portfoliolite.html @@ -23,11 +23,16 @@ Sorting relies on JavaScript which is currently disabled.
+ Browse the Codex: all games | by platform | the appendix. +
- {{ with .Params.game_platform }}
-
- Played on: {{ . }}
+ {{ if ne .CurrentSection.Params.platform .Params.platform }}
+ {{ $platform := .CurrentSection.Title }}
+ {{ with .CurrentSection.Params.platform }}
+
+ Played on: {{ $platform }}
+ {{ end }}
{{ end }}
{{ with .Params.game_genre }}
@@ -85,7 +88,7 @@
{{ else if .Summary }}
{{ .Summary }}
{{ else }}
- A {{ .Params.game_genre }} game on the {{ .Params.game_platform }} By {{ .Params.game_developer }} in {{ .Params.game_release_year }} that takes about {{ .Params.howlongtobeat_hrs }} hour(s) to beat.
+ A {{ .Params.game_genre }} game by {{ .Params.game_developer }} in {{ .Params.game_release_year }} that takes about {{ .Params.howlongtobeat_hrs }} hour(s) to beat.
{{ end }}
diff --git a/themes/jefklak-creative-portfolio/layouts/platforms/single.html b/themes/jefklak-creative-portfolio/layouts/platforms/single.html
index f5b23a2..2bfc9f0 100644
--- a/themes/jefklak-creative-portfolio/layouts/platforms/single.html
+++ b/themes/jefklak-creative-portfolio/layouts/platforms/single.html
@@ -1,49 +1,19 @@
-
{{ define "main" }}
-