diff --git a/layouts/partials/films/table-body.html b/layouts/partials/films/table-body.html
index f36fb08..08fbcb5 100644
--- a/layouts/partials/films/table-body.html
+++ b/layouts/partials/films/table-body.html
@@ -2,17 +2,17 @@
Diary |
- {{ range ( sort ( where $.Site.Data.films.log "Date Watched" "!=" "" ) "Date Watched" "desc" ) }}
+ {{ range ( sort ( where $.Site.Data.films.log "date_watched" "!=" "" ) "date_watched" "desc" ) }}
- {{ time.Format "Jan 2, 2006" ( index . "Date Added" ) }} |
+ {{ with .date_added }}{{ time.Format "Jan 2, 2006" . }}{{ end }} |
- {{- partial "cite" ( dict "c" . "schemaType" "Movie" ) -}}
+ {{ .title }}
|
- {{ index . "Release Year" }} |
+ {{ with .release_date }}{{ time.Format "Jan 2, 2006" . }}{{ end }} |
- {{- if ( index . "Date Watched" ) -}}
- {{- time.Format "Jan 2, 2006" ( index . "Date Watched" ) -}}
- {{- if .Rewatch }} ↻{{ end -}}
+ {{- if .date_watched -}}
+ {{- time.Format "Jan 2, 2006" .date_watched -}}
+ {{- if .is_rewatch }} ↻{{ end -}}
{{- else -}}
n/a
{{- end -}}
@@ -22,25 +22,25 @@
|
Assorted |
- {{ range ( sort ( where $.Site.Data.films.log "Date Watched" "" ) "Title" "asc" ) }}
+ {{ range ( sort ( where $.Site.Data.films.log "date_watched" "" ) "title" "asc" ) }}
- {{ time.Format "Jan 2, 2006" ( index . "Date Added" ) }} |
+ {{ with .date_added }}{{ time.Format "Jan 2, 2006" . }}{{ end }} |
- {{- with ( where ( where $.Site.Pages "Section" "films" ) "Title" .Title ) -}}
+ {{- with ( where ( where $.Site.Pages "Section" "films" ) "title" .title ) -}}
{{ range . }}
- {{ end }}
- {{- end -}}
- {{ .Title }}
- {{- with ( where ( where $.Site.Pages "Section" "films" ) "Title" .Title ) -}}
+ {{ end }}
+ {{- end -}}
+ {{ .title }}
+ {{- with ( where ( where $.Site.Pages "Section" "films" ) "title" .title ) -}}
- {{- end -}}
+ {{- end -}}
|
- {{ index . "Release Year" }} |
+ {{ with .release_date }}{{ time.Format "Jan 2, 2006" . }}{{ end }} |
- {{- if ( index . "Date Watched" ) -}}
- {{- time.Format "Jan 2, 2006" ( index . "Date Watched" ) -}}
- {{- if .Rewatch }} ↻{{ end -}}
+ {{- if .date_watched -}}
+ {{- time.Format "Jan 2, 2006" .date_watched -}}
+ {{- if .is_rewatch }} ↻{{ end -}}
{{- else -}}
n/a
{{- end -}}
@@ -48,25 +48,25 @@
|
{{ end }}
{{ else if ( eq ( .Scratch.Get "listMode" ) "wishlist" ) }}
- {{ range ( sort $.Site.Data.films.wishlist "Title" "asc" ) }}
+ {{ range ( sort $.Site.Data.films.wishlist "title" "asc" ) }}
- {{ time.Format "Jan 2, 2006" ( index . "Date Added" ) }} |
+ {{ with .date_added }}{{ time.Format "Jan 2, 2006" . }}{{ end }} |
- {{- with ( where ( where $.Site.Pages "Section" "films" ) "Title" .Title ) -}}
+ {{- with ( where ( where $.Site.Pages "Section" "films" ) "title" .title ) -}}
{{ range . }}
{{ end }}
{{- end -}}
- {{ .Title }}
- {{- with ( where ( where $.Site.Pages "Section" "films" ) "Title" .Title ) -}}
+ {{ .title }}
+ {{- with ( where ( where $.Site.Pages "Section" "films" ) "title" .title ) -}}
{{- end -}}
|
- {{ index . "Release Year" }} |
+ {{ with .release_date }}{{ time.Format "Jan 2, 2006" . }}{{ end }} |
- {{- if ( index . "Date Watched" ) -}}
- {{- time.Format "Jan 2, 2006" ( index . "Date Watched" ) -}}
- {{- if .Rewatch }} ↻{{ end -}}
+ {{- if .date_watched -}}
+ {{- time.Format "Jan 2, 2006" .date_watched -}}
+ {{- if .is_rewatch }} ↻{{ end -}}
{{- else -}}
n/a
{{- end -}}
|