fix: movie data structure
This commit is contained in:
parent
20fcf37d3a
commit
ac1c61c50b
13 changed files with 64 additions and 27 deletions
|
@ -8,7 +8,7 @@ layout: "layouts/base"
|
|||
{% include "svgs/arrow-left.svg" %}
|
||||
Back to books</a>
|
||||
<header class="media-meta-grid gap-1">
|
||||
<div class="media-image">
|
||||
<div class="media-image media-image--tall">
|
||||
<img src="{{ image }}" alt="" />
|
||||
</div>
|
||||
<div class="flow flex-col justify-center">
|
||||
|
|
|
@ -8,7 +8,7 @@ layout: "layouts/base"
|
|||
{% include "svgs/arrow-left.svg" %}
|
||||
Back to watching</a>
|
||||
<header class="media-meta-grid gap-1">
|
||||
<div class="media-image">
|
||||
<div class="media-image media-image--tall">
|
||||
<img src="{{ image }}" alt="" />
|
||||
</div>
|
||||
<div class="flow flex-col justify-center">
|
||||
|
@ -21,7 +21,7 @@ Back to watching</a>
|
|||
<span class="text-fadeText">Directed by</span>{{ director }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if watched %}<p class="flow-space-0.25">{{ format(watched) }}</p>{% endif %}
|
||||
{% if watchHistory %}<p class="flow-space-0.25">{{ format(watchHistory | last) }}</p>{% endif %}
|
||||
{% if rating %}{{ stars(rating) }}{% endif %}
|
||||
<ul class="list-none p-0 mb-0 media-meta-grid gap-0.5">
|
||||
{% if year %}
|
||||
|
@ -34,18 +34,18 @@ Back to watching</a>
|
|||
<strong>Runtime</strong><span>{{ runtime }} mins</span>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if genres %}
|
||||
{% if tags %}
|
||||
<li class="flex-col meta-grid--full">
|
||||
<strong>Genres</strong><span>{{ genres | join(", ") }}</span>
|
||||
<strong>Genres</strong><span>{{ tags | filter("movie") | join(", ") }}</span>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
{% if watch_history.length > 1 %}
|
||||
{% if watchHistory.length > 1 %}
|
||||
<p>
|
||||
<span class="text-primary">{% include "svgs/circle-info.svg" %}</span>
|
||||
I've seen this movie <strong>{{ watch_history.length }}</strong> {{ "time" | pluralize(watch_history) }}!
|
||||
I've seen this movie <strong>{{ watchHistory.length }}</strong> {{ "time" | pluralize(watchHistory) }}!
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if favourite %}
|
||||
|
|
|
@ -1,12 +1,19 @@
|
|||
.media-image {
|
||||
--aspect-ratio: 0.8;
|
||||
|
||||
source,
|
||||
img {
|
||||
aspect-ratio: 0.8;
|
||||
aspect-ratio: var(--aspect-ratio);
|
||||
border: 1px solid var(--color-shadow);
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.media-image--tall {
|
||||
--aspect-ratio: 0.67;
|
||||
}
|
||||
|
||||
.media-meta-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 225px 1fr;
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
---
|
||||
title: "Coraline"
|
||||
year: 2009
|
||||
watched: 2022-01-25
|
||||
watch_history:
|
||||
watchHistory:
|
||||
- 2022-01-25
|
||||
- 2024-08-17
|
||||
image: https://cdn.wonderfulfrog.com/images/movies/coraline-poster.jpg
|
||||
|
@ -13,7 +12,7 @@ director: Henry Selick
|
|||
runtime: 100
|
||||
favourite: true
|
||||
rating: 5
|
||||
genres:
|
||||
tags:
|
||||
- animation
|
||||
- horror
|
||||
- fantasy
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
---
|
||||
title: "Megalopolis"
|
||||
year: 2024
|
||||
watched: 2024-09-30
|
||||
watchHistory:
|
||||
- 2024-09-30
|
||||
image: https://cdn.wonderfulfrog.com/images/movies/megalopolis-poster.jpg
|
||||
letterboxd: https://letterboxd.com/wonderfulfrog/film/megalopolis-2024/
|
||||
director: Francis Ford Coppola
|
||||
runtime: 138
|
||||
genres:
|
||||
tags:
|
||||
- drama
|
||||
- science fiction
|
||||
---
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
---
|
||||
title: "Sugarcane"
|
||||
year: 2024
|
||||
watched: 2024-09-30
|
||||
watchHistory:
|
||||
- 2024-09-30
|
||||
image: https://cdn.wonderfulfrog.com/images/movies/sugarcane-poster.jpg
|
||||
letterboxd: https://letterboxd.com/wonderfulfrog/film/sugarcane/
|
||||
director: Emily Kassie, Julian Brave NoiseCat
|
||||
runtime: 107
|
||||
favourite: true
|
||||
genres:
|
||||
tags:
|
||||
- documentary
|
||||
---
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
---
|
||||
title: "Your Monster"
|
||||
year: 2024
|
||||
watched: 2024-10-30
|
||||
watchHistory:
|
||||
- 2024-10-30
|
||||
image: https://cdn.wonderfulfrog.com/images/movies/your-monster-poster.jpg
|
||||
letterboxd: https://letterboxd.com/wonderfulfrog/film/your-monster-2024/
|
||||
director: Caroline Lindy
|
||||
runtime: 104
|
||||
genres:
|
||||
tags:
|
||||
- music
|
||||
- comedy
|
||||
- horror
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
---
|
||||
title: "Dracula A.D. 1972"
|
||||
year: 1972
|
||||
watched: 2023-10-31
|
||||
watchHistory:
|
||||
- 2023-10-31
|
||||
image: https://cdn.wonderfulfrog.com/images/movies/dracula-a-d-1972-poster.jpg
|
||||
letterboxd: https://letterboxd.com/wonderfulfrog/film/dracula-ad-1972/
|
||||
director: Alan Gibson
|
||||
runtime: 96
|
||||
genres:
|
||||
tags:
|
||||
- horror
|
||||
---
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
---
|
||||
title: "Dracula"
|
||||
year: 1931
|
||||
watched: 2023-10-31
|
||||
watchHistory:
|
||||
- 2023-10-31
|
||||
image: https://cdn.wonderfulfrog.com/images/movies/dracula-poster.jpg
|
||||
letterboxd: https://letterboxd.com/wonderfulfrog/film/dracula/
|
||||
director: Tod Browning
|
||||
runtime: 74
|
||||
genres:
|
||||
tags:
|
||||
- horror
|
||||
---
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
---
|
||||
title: "Woman of the Hour"
|
||||
year: 2023
|
||||
watched: 2024-11-09
|
||||
watchHistory:
|
||||
- 2024-11-09
|
||||
image: https://cdn.wonderfulfrog.com/images/movies/woman-of-the-hour-poster.jpg
|
||||
letterboxd: https://letterboxd.com/wonderfulfrog/film/woman-of-the-hour/
|
||||
director: Anna Kendrick
|
||||
runtime: 94
|
||||
genres:
|
||||
tags:
|
||||
- drama
|
||||
- thriller
|
||||
- crime
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
---
|
||||
title: "Tetris"
|
||||
year: 2023
|
||||
watched: 2024-11-09
|
||||
watchHistory:
|
||||
- 2024-11-09
|
||||
image: https://cdn.wonderfulfrog.com/images/movies/tetris-poster.jpg
|
||||
letterboxd: https://letterboxd.com/wonderfulfrog/film/tetris/
|
||||
director: Jon S. Baird
|
||||
runtime: 118
|
||||
genres:
|
||||
tags:
|
||||
- thriller
|
||||
- history
|
||||
- drama
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
---
|
||||
title: "Flow"
|
||||
year: 2024
|
||||
watched: 2024-11-20
|
||||
watchHistory:
|
||||
- 2024-11-20
|
||||
image: https://cdn.wonderfulfrog.com/images/movies/flow-poster.jpg
|
||||
letterboxd: https://letterboxd.com/wonderfulfrog/film/flow-2024/
|
||||
director: Gints Zilbalodis
|
||||
runtime: 85
|
||||
favourite: true
|
||||
rating: 4
|
||||
genres:
|
||||
tags:
|
||||
- adventure
|
||||
- fantasy
|
||||
- animation
|
||||
|
|
23
src/movies/2025-01-06-conclave.md
Normal file
23
src/movies/2025-01-06-conclave.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
date: 2025-01-06
|
||||
title: Conclave
|
||||
director: Edward Berger
|
||||
releaseYear: 2024
|
||||
runtime: 120
|
||||
tags:
|
||||
- drama
|
||||
image: https://cdn.wonderfulfrog.com/images/movies/conclave-poster.jpg
|
||||
letterboxd: https://letterboxd.com/wonderfulfrog/film/conclave/
|
||||
pullquote: Voting turned into a gripping drama
|
||||
watchHistory:
|
||||
- 2025-01-06
|
||||
rating: 5
|
||||
isFavourite: false
|
||||
hasSpoilers: false
|
||||
---
|
||||
|
||||
Stunning cinematography. There were many scenes with an emphasis on white and neutral colour schemes, which caused the cardinal robes to really stand out with their bright red colour.
|
||||
|
||||
The scoring was sublime, perfectly timed to each moment without wasting a second. I particularly enjoyed the reliance on string instruments, which provided a powerful element of tension in key moments.
|
||||
|
||||
There was an emphasis on hearing the actors breathing - it was an audible window into how someone was feeling without needing to see any facial expressions. There were pivotal scenes where the only thing we can hear is breathing.
|
Loading…
Add table
Add a link
Reference in a new issue