{{ if ( eq ( .Scratch.Get "listMode" ) "current" ) }} {{ range ( sort $.Site.Data.books.current "Date Started" "desc" ) }}
{{- with ( where ( where $.Site.Pages "Section" "books" ) "Title" .Title ) -}} {{ range . }} {{ end }} {{- end -}} {{ .Title }}{{ if .Edition }} ({{ .Edition }}){{ end }} {{- with ( where ( where $.Site.Pages "Section" "books" ) "Title" .Title ) -}} {{- end -}}
{{- index . "Year Published" -}} {{- if ( and ( ne ( index . "Original Publication Year" ) "" ) ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) ( ne ( index . "Original Publication Year" ) nil ) ) -}} (orig. {{ index . "Original Publication Year" }}) {{- end -}}
{{- with ( where ( where $.Site.Pages "Section" "books" ) "Title" .Title ) -}} {{ range . }} {{ end }} {{- end -}} {{ .Title }}{{ if .Edition }} ({{ .Edition }}){{ end }} {{- with ( where ( where $.Site.Pages "Section" "books" ) "Title" .Title ) -}} {{- end -}}
{{- index . "Year Published" -}} {{- if ( and ( ne ( index . "Original Publication Year" ) "" ) ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) ) -}} (orig. {{ index . "Original Publication Year" }}) {{- end -}}
{{- with ( where ( where $.Site.Pages "Section" "books" ) "Title" .Title ) -}} {{ range . }} {{ end }} {{- end -}} {{ .Title }}{{ if .Edition }} ({{ .Edition }}){{ end }} {{- with ( where ( where $.Site.Pages "Section" "books" ) "Title" .Title ) -}} {{- end -}}
{{- index . "Year Published" -}} {{- if ( and ( ne ( index . "Original Publication Year" ) "" ) ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) ) -}} (orig. {{ index . "Original Publication Year" }}) {{- end -}}
{{- with ( where ( where $.Site.Pages "Section" "books" ) "Title" .Title ) -}} {{ range . }} {{ end }} {{- end -}} {{ .Title }}{{ if .Edition }} ({{ .Edition }}){{ end }} {{- with ( where ( where $.Site.Pages "Section" "books" ) "Title" .Title ) -}} {{- end -}}
{{- index . "Year Published" -}} {{- if ( index . "Original Publication Year" ) -}} (orig. {{ index . "Orginal Publication Year" }}) {{- end -}}