upgrade setto

This commit is contained in:
sakrecoer 2020-09-11 19:02:26 +02:00
parent 479cff7a23
commit f15d28a769
84 changed files with 4207 additions and 593 deletions

View file

@ -18,7 +18,7 @@ layout: default
<div class="playbutton hideWhenNoJS">
<a id="mu_pause" class="button">Play!</a>
</div>
<h1>{{ page.common.title }}</h1>
</p>
@ -27,7 +27,9 @@ layout: default
</div>
<!-- Content -->
<div id="trackInfo">
<section>
<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>
{% for post in site.posts %}
{% if post.album == page.albumSlug %}
@ -37,7 +39,7 @@ 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>
{% include author.html %}
@ -71,48 +73,32 @@ layout: default
<p>
{{ page.all.Comment }}
</p>
{% for albumurl in site.posts %}
{% if albumurl.album == page.albumSlug %}
<p><a href="{{ relBase }}{{ albumurl.url }}" class="button">See release page</a></p>
{% endif %}
{% endfor %}
</section>
{% for post in site.posts %}
{% if post.album == page.albumSlug %}
{% include streamer.html %}
{% endif %}
{% endfor %}
<!-- post Naviation -->
<section class="post-navigation">
{% if page.previous.url or page.next.url %}
<h2>Track Navigation</h2>
<div class="post-nav">
{% if page.previous.url %}
<h4><a href="{{ relBase }}{{ page.previous.url }}" alt="Read {{ page.previous.title }}" title="Read {{ page.previous.title }}"><span
class="fas fa-arrow-left"></span>&nbsp;Previous</a></h4>
<h3>{{ page.previous.common.title }}</h3>
<p>{{ page.previous.description }}</p>
{% endif %}
</div>
<div class="post-nav-next">
{% if page.next.url%}
<h4><a href="{{ page.next.url }}">Next&nbsp;<span class="fas fa-arrow-right"></span></a></h4>
<h3>{{ page.next.common.title }}</h3>
<p>{{ page.next.description }}</p>
{% endif %}
</div>
{% if page.previous.url %}
<h4><a href="{{ relBase }}{{ page.previous.url }}" alt="Read {{ page.previous.title }}" title="Read {{ page.previous.title }}"><span
class="fas fa-arrow-left" style="font-size:3em;text-decoration: none;"></span></a></h4>
<h3>{{ page.previous.common.title }}</h3>
<p>{{ page.previous.description }}</p>
{% endif %}
</div>
<div class="post-nav-next">
{% if page.next.url%}
<h4><a href="{{ page.next.url }}"><span class="fas fa-arrow-right" style="font-size:3em;"></span></a></h4>
<h3>{{ page.next.common.title }}</h3>
<p>{{ page.next.description }}</p>
{% endif %}
</div>
{% endif %}
</section>
{% include footer.html %}
<!-- End Post Navigation -->
@ -126,7 +112,7 @@ layout: default
<div id="audiowrap">
<div id="audio0">
<audio controls autoplay preload="metadata" data-matomo-title="{{ page.common.title }}">
<audio controls autoplay preload="metadata" data-matomo-title="{{ page.common.title }} - {{ page.common.album }}">
<source src="{{ site.mediaurl }}/{{ page.slug }}.mp3" type="audio/mpeg" ontimeupdate='updateTrackTime(this);' />
<h1>Your browser isn't ready for so much hotness. Use the download-link instead.</h1>.
</audio>