chore: pulling weeds

This commit is contained in:
Cory Dransfeldt 2024-09-19 16:26:51 -07:00
parent 067ac95a64
commit 6e2694157c
No known key found for this signature in database
24 changed files with 194 additions and 287 deletions

View file

@ -6,21 +6,17 @@
{%- assign percentage = item.plays | calculatePlayPercentage: playTotal -%}
<li value="{{ item.rank }}">
<div class="item">
<div class="presentation">
<div class="info">
<div class="title">
<a href="{{ item.url }}">{{ item.title }}</a>
</div>
{%- capture playsLabel -%}
{%- if item.plays > 1 -%}
plays
{%- else -%}
play
{%- endif -%}
{%- endcapture -%}
<div class="subtext">{{ item.artist }}</div>
<div class="subtext">{{ item.plays }} {{ playsLabel }}</div>
</div>
<div class="info">
<a class="title window" href="{{ item.url }}">{{ item.title }}</a>
{%- capture playsLabel -%}
{%- if item.plays > 1 -%}
plays
{%- else -%}
play
{%- endif -%}
{%- endcapture -%}
<span class="subtext">{{ item.artist }}</span>
<span class="subtext">{{ item.plays }} {{ playsLabel }}</span>
</div>
{% render "partials/media/progress-bar.liquid", percentage:percentage %}
</div>