chore: improve + simplify update timestamps in footer

This commit is contained in:
Cory Dransfeldt 2024-05-20 11:08:22 -07:00
parent de10bfd839
commit 5437d3c009
No known key found for this signature in database
10 changed files with 55 additions and 50 deletions

View file

@ -2,6 +2,7 @@
title: Watching
layout: default
permalink: "/watching/index.html"
updated: "now"
schema: watching
---
{% assign featuredMovie = movies.favorites | featuredWatching: 1 | first %}
@ -34,5 +35,4 @@ schema: watching
</h2>
</a>
{% assign favoriteShows = tv.favorites | featuredWatching: 6 %}
{% render "partials/media/watching/favorites-grid.liquid", favorites:favoriteShows, count: 6 %}
<p class="explainer text-small text-centered"><em>This page was last updated on {{ "now" | date: "%B %-d, %-I:%M%p", "America/Los_Angeles" }}. It typically updates once an hour.</em></p>
{% render "partials/media/watching/favorites-grid.liquid", favorites:favoriteShows, count: 6 %}