realtive paths
This commit is contained in:
parent
cf9f74516f
commit
6dd63fd195
11 changed files with 77 additions and 54 deletions
|
|
@ -8,14 +8,14 @@ layout: default
|
|||
<div class="container">
|
||||
<button id="mu_pause">Play</button><br /><br />
|
||||
{% if page.previous != nil %}
|
||||
<a href="{{ site.baseurl }}{{ page.previous.url }}" title="Previous Track"><img
|
||||
src="{{ site.baseurl }}/assets/img/icons/skiprwd.png" title="Previous Track" /></a>
|
||||
<a href="{{ relBase }}{{ page.previous.url }}" title="Previous Track"><img
|
||||
src="{{ relBase }}/assets/img/icons/skiprwd.png" title="Previous Track" /></a>
|
||||
{% endif %}
|
||||
<a id="download" title="Download This Track!" href="{{ page.mp3 }}"><img
|
||||
src="{{ site.baseurl }}/assets/img/icons/dl.png" title="Download Track" /></a>
|
||||
src="{{ relBase }}/assets/img/icons/dl.png" title="Download Track" /></a>
|
||||
{% if page.next != nil %}
|
||||
<a href="{{ site.baseurl }}{{ page.next.url }}" title="Next Track"><img
|
||||
src="{{ site.baseurl }}/assets/img/icons/skipfwd.png" title="Next Track" /></a>{% endif %}
|
||||
<a href="{{ relBase }}{{ page.next.url }}" title="Next Track"><img
|
||||
src="{{ relBase }}/assets/img/icons/skipfwd.png" title="Next Track" /></a>{% endif %}
|
||||
<br /><br />{% include liberapay.html %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -58,7 +58,7 @@ layout: default
|
|||
mu.pause();
|
||||
mu.currentTime = 0;
|
||||
{% if page.previous != nil %}
|
||||
loadUrl('{{ site.baseurl }}{{ page.previous.url }}'); return false;
|
||||
loadUrl('{{ relBase }}{{ page.previous.url }}'); return false;
|
||||
{% endif %}
|
||||
// qq IE10
|
||||
muFade();
|
||||
|
|
@ -85,7 +85,7 @@ layout: default
|
|||
}
|
||||
|
||||
#wallpaper {
|
||||
background-image: url(/assets/img/world.svg);
|
||||
background-image: url({{ relBase }}/assets/img/world.svg);
|
||||
-webkit-animation: AnimationName 30s ease infinite;
|
||||
-moz-animation: AnimationName 30s ease infinite;
|
||||
animation: AnimationName 30s ease infinite;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue