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: Currently reading • Books
layout: default
permalink: "/books/index.html"
updated: "now"
schema: books
---
{%- assign bookData = books | bookStatus: 'started' | reverse -%}
@ -28,5 +29,4 @@ schema: books
{% if book.description %}<blockquote class="description">{{ book.description }}</blockquote>{% endif %}
</div>
</article>
{% endfor %}
<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>
{% endfor %}

View file

@ -2,6 +2,7 @@
title: Music
layout: default
permalink: "/music/index.html"
updated: "now"
schema: music
---
{% capture js %}
@ -91,5 +92,4 @@ schema: music
{% render "partials/media/music/tracks/chart.liquid", data:music.allTime.tracks, mostPlayed:music.allTime.tracks[0].plays %}
</div>
<p><strong class="highlight-text">More:</strong> <a href="/music/tracks/this-week/">This week</a><a href="/music/tracks/this-month/">This month</a><a href="/music/tracks/three-months/">3 months</a><a href="/music/tracks/all-time/">All time</a></p>
{% render "partials/media/music/releases.liquid", albumReleases:albumReleases %}
<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/music/releases.liquid", albumReleases:albumReleases %}

View file

@ -17,5 +17,5 @@ updated: 2024-05-18T15:49:00Z
<p><strong class="highlight-text">Encouraging folks to block AI web crawlers:</strong> <a href="https://coryd.dev/posts/2024/go-ahead-and-block-ai-web-crawlers/">they're insidious, abusive and should be blocked.</a> <a href="https://github.com/ai-robots-txt/ai.robots.txt">I'm happy to take contributions, once again,</a> as we encourage folks to block them as best they can.</p>
<h3>Mentoring</h3>
<p>I've been mentoring through <a href="https://www.underdogdevs.org">Underdog Devs</a> on and off for a few years now and find it incredibly rewarding.</p>
<p class="explainer text-small text-centered">This is a <a href="https://nownownow.com/about">now page</a>, and if you have your own site, <a href="https://nownownow.com/about">you should make one too</a>.</p>
<p class="explainer text-small text-centered"><em>This page was last updated on {{ updated | date: "%B %-d, %-I:%M%p", "America/Los_Angeles" }}.</em></p>
<hr class="large-spacing" />
<p>This is a <a href="https://nownownow.com/about">now page</a>, and if you have your own site, <a href="https://nownownow.com/about">you should make one too</a>.</p>

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 %}