From fc7534b705dafb49f17390bc02230ef60ad55759 Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Fri, 11 Sep 2020 13:33:38 +0200 Subject: [PATCH] streamlining --- _layouts/track.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/_layouts/track.html b/_layouts/track.html index ca474ab..d8e2162 100644 --- a/_layouts/track.html +++ b/_layouts/track.html @@ -27,6 +27,7 @@ layout: default
+

{{ page.common.title }}

{% for style in page.common.genre %}{{ style }}{% endfor %} by {{ page.common.artist }}

@@ -38,7 +39,7 @@ layout: default

{% assign round_seconds = page.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{% assign seconds_without_zero = round_seconds | minus: leftover_seconds %}{% if seconds_without_zero < 10 %}0{% endif %}{{ seconds_without_zero }}

- {% include streamer.html %} + {% include author.html %} @@ -72,11 +73,7 @@ layout: default

{{ page.all.Comment }}

- {% for albumurl in site.posts %} - {% if albumurl.album == page.albumSlug %} -

See release page

-{% endif %} -{% endfor %} +
{% for post in site.posts %} {% if post.album == page.albumSlug %}