feat: dynamic media page og images

This commit is contained in:
Cory Dransfeldt 2024-05-20 09:10:37 -07:00
parent bc03c708a6
commit 00440c24d9
No known key found for this signature in database
29 changed files with 46 additions and 9 deletions

View file

@ -2,6 +2,7 @@
title: Favorite movies
layout: default
permalink: "/watching/favorite-movies/index.html"
schema: watching
---
<p><a class="link-icon flex-centered" href="/watching">{% tablericon "arrow-left" "Go back" %} Go back</a></p>
<h2 class="watching page-header">{{ title }}</h2>

View file

@ -2,6 +2,7 @@
title: Favorite shows
layout: default
permalink: "/watching/favorite-shows/index.html"
schema: watching
---
<p><a class="link-icon flex-centered" href="/watching">{% tablericon "arrow-left" "Go back" %} Go back</a></p>
<h2 class="watching page-header">{{ title }}</h2>

View file

@ -2,6 +2,7 @@
title: Watching
layout: default
permalink: "/watching/index.html"
schema: watching
---
{% assign featuredMovie = movies.favorites | featuredWatching: 1 | first %}
<h2 class="watching page-header">{{ title }}</h2>

View file

@ -6,6 +6,7 @@ pagination:
alias: movies
size: 30
permalink: "/watching/movies-to-watch/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber | plus: 1 }}/{% endif %}index.html"
schema: watching
---
<p><a class="link-icon flex-centered" href="/watching">{% tablericon "arrow-left" "Go back" %} Go back</a></p>
{% if pagination.pageNumber == 0 %}

View file

@ -6,6 +6,7 @@ pagination:
alias: shows
size: 30
permalink: "/watching/shows-to-watch/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber | plus: 1 }}/{% endif %}index.html"
schema: watching
---
<p><a class="link-icon flex-centered" href="/watching">{% tablericon "arrow-left" "Go back" %} Go back</a></p>
{% if pagination.pageNumber == 0 %}