many fixes
This commit is contained in:
parent
dff8261923
commit
704c288a79
21 changed files with 94 additions and 33 deletions
|
|
@ -31,7 +31,9 @@ layout: default
|
|||
</div>
|
||||
</div>
|
||||
<div class="noJSalbum">
|
||||
|
||||
<div class="coverartwrapper">
|
||||
<div class="coverartwrapped" style="background-image: url({{ page.image }});"></div>
|
||||
</div>
|
||||
{% for track in album.tracks %}
|
||||
|
||||
<div class="plItem">
|
||||
|
|
@ -47,10 +49,12 @@ layout: default
|
|||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="coverart">
|
||||
<div class="coverartwrapper">
|
||||
<div id="npImage" class="coverartwrapped"></div>
|
||||
</div>
|
||||
|
||||
{% assign author_id = page.author | prepend: "/authors/" | append: "/" %}
|
||||
{% assign author = site.authors | where: "url", author_id | first %}
|
||||
<div id="author">
|
||||
|
|
@ -232,6 +236,7 @@ layout: default
|
|||
if ((index + 1) < trackCount) {
|
||||
index++;
|
||||
loadTrack(index);
|
||||
playTrack(index);
|
||||
audio.play();
|
||||
} else {
|
||||
audio.pause();
|
||||
|
|
@ -304,8 +309,8 @@ layout: default
|
|||
|
||||
{% else %}
|
||||
{% include header.html %}
|
||||
<section class="info">
|
||||
<div>
|
||||
<section class="info" id="read">
|
||||
<div style="margin-top: 80px;">
|
||||
{{ content }}
|
||||
<p> </p>
|
||||
<p style="text-align: center;"><a href="{{ page.link }}" class="button">Check it out</a></p>
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ layout: default
|
|||
<div class="coverartwrapper">
|
||||
<div class="coverartwrapped" id="coverart" style="background-image: url({{ site.mediaurl }}/{{ page.slug }}.jpeg);"></div>
|
||||
</div>
|
||||
<div class="playbutton">
|
||||
<div class="playbutton hideWhenNoJS">
|
||||
<a id="mu_pause" class="button">Play!</a>
|
||||
</div>
|
||||
</div>
|
||||
<p><strong>{% for style in page.common.genre %}{{ style }}{% endfor %}</strong> by <strong>{{ page.common.artist }}</strong>
|
||||
<br />{{ page.common.year }}
|
||||
</p>
|
||||
|
|
@ -24,24 +24,17 @@ layout: default
|
|||
<div id="trackInfo">
|
||||
<section>
|
||||
|
||||
<h1 style="margin-top:80px">{{ page.common.title }}</h1>
|
||||
<h1>{{ page.common.title }}</h1>
|
||||
<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 %}
|
||||
|
||||
<div class="noJSalbum">
|
||||
<h1 style="margin-top:80px">{{ page.common.title }}</h1>
|
||||
<p><strong>{% for style in page.common.genre %}{{ style }}{% endfor %}</strong> by <strong>{{ page.common.artist }}</strong>
|
||||
<br />{{ page.common.year }}
|
||||
</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>
|
||||
|
||||
|
||||
<ul class="actions stacked">
|
||||
<li><a class="button" target="_blank" rel="noopener" href="{{ site.mediaurl }}/{{ page.albumSlug }}/{{ page.trackSlug }}.mp3"><span class="fas fa-play"></span> Play!</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<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 -->
|
||||
|
|
@ -70,7 +63,7 @@ layout: default
|
|||
</p>
|
||||
{% for albumurl in site.posts %}
|
||||
{% if albumurl.album == page.albumSlug %}
|
||||
<a href="{{ relBase }}{{ albumurl.url }}" class="button">See release page</a>
|
||||
<p><a href="{{ relBase }}{{ albumurl.url }}" class="button">See release page</a></p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue