moving to simpler baseurl
This commit is contained in:
parent
ad551f54fc
commit
2b5bd4fa0e
12 changed files with 49 additions and 49 deletions
|
|
@ -2,18 +2,18 @@
|
|||
layout: default
|
||||
---
|
||||
<div id="navigation">
|
||||
<button id="mu_pause">Pause / Play</button>
|
||||
<button id="mu_pause">Play</button>
|
||||
<h1>{% if page.previous_in_category != nil %}
|
||||
<a href="{{ base }}{{ page.previous_in_category.url }}" title="Previous Track"><img
|
||||
src="{{ base }}/assets/img/icons/skiprwd.png" title="Previous Track" /></a>
|
||||
<a href="{{ site.baseurl }}{{ page.previous_in_category.url }}" title="Previous Track"><img
|
||||
src="{{ site.baseurl }}/assets/img/icons/skiprwd.png" title="Previous Track" /></a>
|
||||
{% endif %}
|
||||
<a id="download" title="Download This Track!" href="{{ site.audio_url }}{{ page.mp3 }}"><img
|
||||
src="{{ base }}/assets/img/icons/dl.png" title="Download Track" /></a>
|
||||
src="{{ site.baseurl }}/assets/img/icons/dl.png" title="Download Track" /></a>
|
||||
{% if page.next_in_category != nil %}
|
||||
<a href="{{ base }}{{ page.next_in_category.url }}" title="Next Track"><img
|
||||
src="{{ base }}/assets/img/icons/skipfwd.png" title="Next Track" /></a>{% endif %}
|
||||
<a href="{{ site.baseurl }}{{ page.next_in_category.url }}" title="Next Track"><img
|
||||
src="{{ site.baseurl }}/assets/img/icons/skipfwd.png" title="Next Track" /></a>{% endif %}
|
||||
</h1>
|
||||
<a href="{{ base }}/music/index.html">Back to Index</a>
|
||||
<a href="{{ site.baseurl }}/music/index.html">Back to Index</a>
|
||||
</div>
|
||||
|
||||
<div id="lyrics">
|
||||
|
|
@ -45,7 +45,7 @@ layout: default
|
|||
mu.pause();
|
||||
mu.currentTime = 0;
|
||||
{% if page.next_in_category != nil %}
|
||||
loadUrl('{{ base }}{{ page.next_in_category.url }}'); return false;
|
||||
loadUrl('{{ site.baseurl }}{{ page.next_in_category.url }}'); return false;
|
||||
{% endif %}
|
||||
// qq IE10
|
||||
muFade();
|
||||
|
|
@ -54,10 +54,10 @@ layout: default
|
|||
mu.classList.toggle("stopfade");
|
||||
if (mu.paused) {
|
||||
mu.play();
|
||||
pauseButton.innerHTML = "Pause<br />Music";
|
||||
pauseButton.innerHTML = "Pause";
|
||||
} else {
|
||||
mu.pause();
|
||||
pauseButton.innerHTML = "Resume<br />Music";
|
||||
pauseButton.innerHTML = "Resume";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue