All checks were successful
Build and Deploy / build_and_deploy (push) Successful in 1m28s
Reviewed-on: #6 Co-authored-by: Devin Haska <wonderfulfrog@noreply.git.cloud.haska.me> Co-committed-by: Devin Haska <wonderfulfrog@noreply.git.cloud.haska.me>
43 lines
1.8 KiB
HTML
43 lines
1.8 KiB
HTML
---
|
|
title: /now
|
|
description: What's going on now and all the latest with myself.
|
|
---
|
|
|
|
{% set recentTrack = lastfm.recentTracks[0] %}
|
|
<h1>/now</h1>
|
|
<p>What am I doing right now? Everything on here is automatically generated from various data sources.</p>
|
|
{% if listenbrainz.length > 0 %}
|
|
<section class="flow">
|
|
<h2>🎶 <a href="https://listenbrainz.org/user/wonderfulfrog/" target="_blank">Listening</a></h2>
|
|
<ol>
|
|
{% for listen in listenbrainz | limit(5) %}
|
|
<li><a href="https://listenbrainz.org/artist/{{ listen.track_metadata.additional_info.artist_mbids[0] }}" target="_blank">{{listen.track_metadata.artist_name}}</a> - <a href="https://musicbrainz.org/recording/{{ listen.track_metadata.additional_info.recording_mbid }}" target="_blank">{{ listen.track_metadata.track_name }}</a></li>
|
|
{% endfor %}
|
|
</ol>
|
|
</section>
|
|
{% endif %}
|
|
{% if letterboxd.length > 0 %}
|
|
<h2>🍿 <a href="https://letterboxd.com/wonderfulfrog/" target="_blank">Movies</a></h2>
|
|
<ul class="media-grid p-0" role="list">
|
|
{% for movie in letterboxd %}
|
|
<li class="radius-0.5">
|
|
<a href="{{ movie.url }}"
|
|
target="_blank"
|
|
rel="external noreferrer noopener">
|
|
{% set textContent %}
|
|
{{ movie.title }}
|
|
{% endset %}
|
|
<p class="visually-hidden">{{ movie.title }}</p>
|
|
{% if movie.imgSrc %}
|
|
<img src="{{ movie.imgSrc }}" alt="" />
|
|
{% else %}
|
|
<div>{{ textContent }}</div>
|
|
{% endif %}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
<p class="font-size-s mt-2">
|
|
What is a `/now` page? Check out <a href="https://nownownow.com/about">nownownow.com</a>.
|
|
</p>
|