{{ if ( eq ( .Scratch.Get "listMode" ) "current" ) }} {{ range ( sort $.Site.Data.games.current "Date Started" "desc" ) }} {{ partial "games/rows/date_added.html" .date_added -}} {{- partial "cite" ( dict "c" . "g" $ "section" "games" "schemaType" "VideoGame" "title" .title "titleLang" .original_language "titleTrans" .original_title ) -}} {{- partial "games/rows/platforms.html" .platform -}} {{- partial "games/rows/release-date.html" .release_date }} {{- with .date_started -}} Since {{ time.Format "Jan 2, 2006" . -}} {{- else -}} Unknown {{- end -}} {{ end }} {{ else if ( eq ( .Scratch.Get "listMode" ) "log" ) }}

Diary

{{ range ( sort ( where $.Site.Data.games.log "date_finished" "!=" "" ) "date_finished" "desc" ) }} {{ partial "games/rows/date_added.html" .date_added -}} {{- partial "cite" ( dict "c" . "g" $ "section" "games" "schemaType" "VideoGame" "title" .title "titleLang" .original_language "titleTrans" .original_title ) -}} {{- partial "games/rows/platforms.html" .platform -}} {{- partial "games/rows/release-date.html" .release_date }} {{- with .level_of_completion }} {{ . }} {{- end -}} {{- with .date_started -}} {{- time.Format "Jan 2, 2006" . -}} {{- else -}} Unknown {{- end -}}–{{- with .date_finished -}} {{- time.Format "Jan 2, 2006" . -}} {{- else -}} Unknown {{- end -}} {{ end }}

Assorted

{{ range ( sort ( where $.Site.Data.games.log "date_finished" "" ) "title" "asc" ) }} {{ partial "games/rows/date_added.html" .date_added -}} {{- partial "cite" ( dict "c" . "g" $ "section" "games" "schemaType" "VideoGame" "title" .title "titleLang" .original_language "titleTrans" .original_title ) -}} {{- partial "games/rows/platforms.html" .platform -}} {{- partial "games/rows/release-date.html" .release_date }} {{- with .level_of_completion }} {{ . }} {{- end -}} {{- with .date_started -}} {{- time.Format "Jan 2, 2006" . -}} {{- else -}} Unknown {{- end -}}–{{- with .date_finished -}} {{- time.Format "Jan 2, 2006" . -}} {{- else -}} Unknown {{- end -}} {{ end }} {{ else if ( eq ( .Scratch.Get "listMode" ) "wishlist" ) }} {{ range ( sort $.Site.Data.games.wishlist "title" "asc" ) }} {{ partial "games/rows/date_added.html" .date_added -}} {{- partial "cite" ( dict "c" . "g" $ "section" "games" "schemaType" "VideoGame" ) -}} {{- partial "games/rows/platforms.html" .platform -}} {{- partial "games/rows/release-date.html" .release_date }} {{ end }} {{ end }}