realtive paths
This commit is contained in:
parent
cf9f74516f
commit
6dd63fd195
11 changed files with 77 additions and 54 deletions
|
|
@ -1,22 +1,24 @@
|
|||
---
|
||||
---
|
||||
{% include relBase.html %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" />
|
||||
<link rel="apple-touch-icon" href="{{ site.baseurl }}/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" href="{{ site.baseurl }}/touch-icon.png" sizes="192x192">
|
||||
<link rel="shortcut icon" href="{{ site.baseurl }}/favicon.png" type="image/png" />
|
||||
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style2019-11.css" />
|
||||
<script src="/assets/js/jquery-3.4.1.min.js"></script>
|
||||
<script type="text/javascript" src="/assets/js/isotope.pkgd.min.js"></script>
|
||||
<link rel="apple-touch-icon" href="{{ relBase }}/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" href="{{ relBase }}/touch-icon.png" sizes="192x192">
|
||||
<link rel="shortcut icon" href="{{ relBase }}/favicon.png" type="image/png" />
|
||||
<link rel="stylesheet" href="{{ relBase }}/assets/css/style2019-11.css" />
|
||||
<script src="{{ relBase }}/assets/js/jquery-3.4.1.min.js"></script>
|
||||
<script type="text/javascript" src="{{ relBase }}/assets/js/isotope.pkgd.min.js"></script>
|
||||
{% include seo.html %}
|
||||
<style>
|
||||
body{
|
||||
background: url('{{ page.image }}');
|
||||
}
|
||||
</style>
|
||||
{% include matomo.html %}
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
---
|
||||
{{ content }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue