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,11 +18,6 @@ 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 -->
@ -39,16 +34,10 @@ 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 %}
@ -82,11 +71,7 @@ layout: default
</p> </p>
</section> </section>
{% for post in site.posts %}
{% if post.album == page.albumSlug %}
{% endif %}
{% endfor %}
<!-- post Naviation --> <!-- post Naviation -->
<section class="post-navigation"> <section class="post-navigation">
@ -113,8 +98,6 @@ layout: default
<!-- 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>