remove broken tag and redundant loop

This commit is contained in:
Set Hallstrom 2020-11-18 12:02:10 +01:00
parent 6846854776
commit ddc97807e5

View file

@ -18,17 +18,12 @@ layout: default
<div class="playbutton hideWhenNoJS"> <div class="playbutton hideWhenNoJS">
<a id="mu_pause" class="button">🔊 Play!</a> <a id="mu_pause" class="button">🔊 Play!</a>
</div> </div>
</p>
</section> </section>
</div> </div>
<!-- Content --> <!-- Content -->
<div id="trackInfo"> <div id="trackInfo">
<section> <section>
<h1 style="margin-top:80px;">{{ page.common.title }}</h1> <h1 style="margin-top:80px;">{{ page.common.title }}</h1>
<p>{% for style in page.common.genre %}{{ style }}{% endfor %} by <strong>{{ page.common.artist }}</strong></p> <p>{% for style in page.common.genre %}{{ style }}{% endfor %} by <strong>{{ page.common.artist }}</strong></p>
{% for post in site.posts %} {% for post in site.posts %}
@ -39,17 +34,11 @@ layout: default
<p><strong>{% 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 }}</strong></p> <p><strong>{% 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 }}</strong></p>
{% include author.html %} {% include author.html %}
<p class="noJSalbum"><a class="button" target="_blank" rel="noopener" href="{{ site.mediaurl }}/{{ page.albumSlug }}/{{ page.trackSlug }}.mp3"><span class="fas fa-play"></span> Play!</a></p> <p class="noJSalbum"><a class="button" target="_blank" rel="noopener" href="{{ site.mediaurl }}/{{ page.albumSlug }}/{{ page.trackSlug }}.mp3"><span class="fas fa-play"></span> Play!</a></p>
<!-- Content -->
<!-- Content -->
{% if page.all.UNSYNCEDLYRICS and page.all.USLT %} {% if page.all.UNSYNCEDLYRICS and page.all.USLT %}
<div class="info"> <div class="info">
@ -81,14 +70,10 @@ layout: default
{{ page.all.Comment }} {{ page.all.Comment }}
</p> </p>
</section> </section>
{% for post in site.posts %}
{% if post.album == page.albumSlug %}
{% endif %} <!-- post Naviation -->
{% endfor %} <section class="post-navigation">
<!-- post Naviation -->
<section class="post-navigation">
<div class="post-nav"> <div class="post-nav">
@ -106,15 +91,13 @@ layout: default
</div> </div>
</section> </section>
{% include footer.html %} {% include footer.html %}
<!-- End Post Navigation --> <!-- End Post Navigation -->
</div> </div>
<!-- Audio player--> <!-- Audio player-->
<div id="fixedPlayer" class="showplayer hideplayer"> <div id="fixedPlayer" class="showplayer hideplayer">
<div id="audiowrap"> <div id="audiowrap">
@ -139,9 +122,6 @@ layout: default
</div> </div>
<p id="npTitle" style="font-weight: bold;">{{ page.common.title }} </p> <p id="npTitle" style="font-weight: bold;">{{ page.common.title }} </p>
</div> </div>
</div> </div>