chore: remove old filters, hardcoded types, old post status from view

This commit is contained in:
Cory Dransfeldt 2024-10-13 15:51:27 -07:00
parent ffea333d55
commit 76a172bb74
No known key found for this signature in database
15 changed files with 15 additions and 48 deletions

View file

@ -12,7 +12,7 @@ schema: artist
{{ artist.name }} / {{ artist.country }}
{%- endcapture -%}
{%- capture playLabel -%}
{%- if artist.totalPlays == 1 -%}
{%- if artist.total_plays == 1 -%}
play
{%- else -%}
plays
@ -105,8 +105,8 @@ schema: artist
{% for album in artist.albums %}
<tr>
<td>{{ album.name }}</td>
<td>{{ album.totalPlays }}</td>
<td>{{ album.releaseYear }}</td>
<td>{{ album.total_plays }}</td>
<td>{{ album.release_year }}</td>
</tr>
{% endfor %}
</table>

View file

@ -18,7 +18,7 @@ schema: blog
{{ post.title }}
</h3>
<div>
{% render "partials/blocks/banners/old-post.liquid", date:post.date %}
{% render "partials/blocks/banners/old-post.liquid", isOldPost:post.old_post %}
{%- if post.image -%}
<img
srcset="