broken URL

This commit is contained in:
Set Hallstrom 2020-07-28 16:12:32 +02:00
parent 5bef4ab5ae
commit 7a98b4d1d7

View file

@ -97,15 +97,15 @@ layout: default
<div class="post-nav"> <div class="post-nav">
<div> <div>
<h4><a href="{{ relBase }}/albums/{{ page.previousTrack.slug }}/" alt="Read {{ page.previousTrack.common.title }}" title="Read {{ page.previousTrack.common.title }}"><i class="fas fa-arrow-left"></i></a> <a <h4><a href="{{ relBase }}/tracks/{{ page.previousTrack.slug }}/" alt="Read {{ page.previousTrack.common.title }}" title="Read {{ page.previousTrack.common.title }}"><i class="fas fa-arrow-left"></i></a> <a
href="{{ relBase }}/albums/{{ page.previousTrack.slug }}/">&nbsp;{{ page.previousTrack.common.title }}</a> href="{{ relBase }}/tracks/{{ page.previousTrack.slug }}/">&nbsp;{{ page.previousTrack.common.title }}</a>
</h4> </h4>
</div> </div>
<div class="post-nav-next"> <div class="post-nav-next">
<h4><a href="{{ relBase }}/albums/{{ page.nextTrack.slug }}/">&nbsp;{{ page.nextTrack.common.title }}</a> <a <h4><a href="{{ relBase }}/tracks/{{ page.nextTrack.slug }}/">&nbsp;{{ page.nextTrack.common.title }}</a> <a
href="{{ relBase }}/albums/{{ page.nextTrack.slug }}/" alt="Read {{ page.nextTrack.common.title }}" title="Read {{ page.nextTrack.common.title }}"><i class="fas fa-arrow-right"></i></a></h4> href="{{ relBase }}/tracks/{{ page.nextTrack.slug }}/" alt="Read {{ page.nextTrack.common.title }}" title="Read {{ page.nextTrack.common.title }}"><i class="fas fa-arrow-right"></i></a></h4>
</div> </div>
</div> </div>
@ -137,7 +137,7 @@ layout: default
// only functional if "loop" is removed // only functional if "loop" is removed
mu.pause(); mu.pause();
mu.currentTime = 0; mu.currentTime = 0;
loadUrl("{{ relBase }}/albums/{{ page.nextTrack.slug }}/"); return false; loadUrl("{{ relBase }}/tracks/{{ page.nextTrack.slug }}/"); return false;
}); });
mu.onplaying = function() { mu.onplaying = function() {
pauseButton.innerHTML = "Pause"; pauseButton.innerHTML = "Pause";