move away from deprecated realtive path

This commit is contained in:
Set Sakrecoer 2019-06-19 16:52:49 +02:00
parent d53c344a70
commit 49fa7ba79f
23 changed files with 67 additions and 167 deletions

View file

@ -21,7 +21,7 @@ social:
mastodon: 'https://mastodon.art/@basspistol' mastodon: 'https://mastodon.art/@basspistol'
production_url : https://basspistol.com production_url : https://basspistol.com
baseurl : '/' baseurl : ''
shop_url: https://shop.basspistol.com/ shop_url: https://shop.basspistol.com/
# excerpt_separator: '<!--more-->' # excerpt_separator: '<!--more-->'

View file

@ -1,6 +1,6 @@
{% if page.author != null %} {% if page.author != null %}
{% assign author_id = page.author | prepend: "/staff_members/" | append: "/" %} {% assign author_id = page.author | prepend: "/staff_members/" | append: "/" %}
{% assign author_name = site.staff_members | where: "url", author_id | first %} {% assign author_name = site.staff_members | where: "url", author_id | first %}
<a href="mailto:info+comment@basspistol.com?subject=Regarding the post &quot;{{ page.title }}&quot;!&body=Hey Set! The post on on your site with the title &quot;{{ page.title }}&quot; is wrong/right/good/bad/weird/peanuts/jelly/crazy/" style="text-decoration:none;"><img class="square-image" src="{{ base }}{{ author_name.image_path }}" /></a> <a href="mailto:info+comment@basspistol.com?subject=Regarding the post &quot;{{ page.title }}&quot;!&body=Hey Set! The post on on your site with the title &quot;{{ page.title }}&quot; is wrong/right/good/bad/weird/peanuts/jelly/crazy/" style="text-decoration:none;"><img class="square-image" src="{{ site.baseurl }}{{ author_name.image_path }}" /></a>
<br /><p class="blurb"><a href="mailto:info+comment@basspistol.com?subject=Regarding the post &quot;{{ page.title }}&quot;!&body=Hey Set! The post on on your site with the title &quot;{{ page.title }}&quot; is wrong/right/good/bad/weird/peanuts/jelly/crazy/" style="text-decoration:none;"><strong>{{ author_name.name }}</strong></a><br />{{ author_name.blurb_markup }}</p> <br /><p class="blurb"><a href="mailto:info+comment@basspistol.com?subject=Regarding the post &quot;{{ page.title }}&quot;!&body=Hey Set! The post on on your site with the title &quot;{{ page.title }}&quot; is wrong/right/good/bad/weird/peanuts/jelly/crazy/" style="text-decoration:none;"><strong>{{ author_name.name }}</strong></a><br />{{ author_name.blurb_markup }}</p>
{% endif %} {% endif %}

View file

@ -17,28 +17,28 @@
<br /><br /><a id="commentlink" href="mailto:info+comment@basspistol.com?subject=Regarding the post &quot;{{ page.title }}&quot;!&body=Hey! The post on on your site with the title &quot;{{ page.title }}&quot; is wrong/right/good/bad/weird/peanuts/jelly/crazy/" style="text-decoration:none;">Write a comment</a> <br /><br /><a id="commentlink" href="mailto:info+comment@basspistol.com?subject=Regarding the post &quot;{{ page.title }}&quot;!&body=Hey! The post on on your site with the title &quot;{{ page.title }}&quot; is wrong/right/good/bad/weird/peanuts/jelly/crazy/" style="text-decoration:none;">Write a comment</a>
<br /><br /><h2> <br /><br /><h2>
{% if prev_post %} {% if prev_post %}
<a href="{{ base }}{{ prev_post }}" style="text-decoration: none;">&laquo; Older</a> {% if next_post %}<span style="color:#313d26;">|</span>{% endif %} <a href="{{ site.baseurl }}{{ prev_post }}" style="text-decoration: none;">&laquo; Older</a> {% if next_post %}<span style="color:#313d26;">|</span>{% endif %}
{% endif %} {% endif %}
{% if next_post %} {% if next_post %}
<a href="{{ base }}{{ next_post }}" style="text-decoration: none;">Newer&raquo;</a> <a href="{{ site.baseurl }}{{ next_post }}" style="text-decoration: none;">Newer&raquo;</a>
{% endif %} {% endif %}
</h2> </h2>
<p>Tags:</p> <p>Tags:</p>
{% assign sortedtags = page.tags | sort %} {% for tags in sortedtags%} {% assign sortedtags = page.tags | sort %} {% for tags in sortedtags%}
<a href="{{ base }}/tags/#{{ tags }}">{{ tags }}</a> / <a href="{{ site.baseurl }}/tags/#{{ tags }}">{{ tags }}</a> /
{% endfor %} {% endfor %}
<br /><br /> <br /><br />
<a style="text-decoration: none;" href="https://touch.facebook.com/sharer.php?u={{ page.link | xml_escape }}&quote={{ page.description | xml_escape }} via https://basspistol.com" target="_blank" rel="noopener noreferrer nofollow"> <a style="text-decoration: none;" href="https://touch.facebook.com/sharer.php?u={{ page.link | xml_escape }}&quote={{ page.description | xml_escape }} via https://basspistol.com" target="_blank" rel="noopener noreferrer nofollow">
<img src="{{ base }}/assets/img/facebook.svg" width="22px" height="22px" alt="share on facebook" /> <img src="{{ site.baseurl }}/assets/img/facebook.svg" width="22px" height="22px" alt="share on facebook" />
</a> </a>
<a style="text-decoration: none;" href="https://twitter.com/share?url={{ page.link | xml_escape }}&text={{ page.description | xml_escape }}&via=bpist&hashtags=BpistHilights" target="_blank" rel="noopener noreferrer nofollow"> <a style="text-decoration: none;" href="https://twitter.com/share?url={{ page.link | xml_escape }}&text={{ page.description | xml_escape }}&via=bpist&hashtags=BpistHilights" target="_blank" rel="noopener noreferrer nofollow">
<img src="{{ base }}/assets/img/twitter.svg" width="24px" height="24px" alt="share on twitter" /> <img src="{{ site.baseurl }}/assets/img/twitter.svg" width="24px" height="24px" alt="share on twitter" />
</a> </a>
<a style="text-decoration: none;" href="https://telegram.me/share/url?url={{ page.link }}&text={{ page.description }} via &#64;basspistolQC" target="_blank" rel="noopener noreferrer nofollow"> <a style="text-decoration: none;" href="https://telegram.me/share/url?url={{ page.link }}&text={{ page.description }} via &#64;basspistolQC" target="_blank" rel="noopener noreferrer nofollow">
<img src="{{ base }}/assets/img/telegram.svg" width="24px" height="24px" alt="share on telegram" /> <img src="{{ site.baseurl }}/assets/img/telegram.svg" width="24px" height="24px" alt="share on telegram" />
</a> </a>
<a style="text-decoration: none;" href="https://reddit.com/submit/?url={{ page.link }}" target="_blank" rel="noopener noreferrer nofollow"> <a style="text-decoration: none;" href="https://reddit.com/submit/?url={{ page.link }}" target="_blank" rel="noopener noreferrer nofollow">
<img src="{{ base }}/assets/img/reddit.svg" width="24px" height="24px" alt="share on reddit" /> <img src="{{ site.baseurl }}/assets/img/reddit.svg" width="24px" height="24px" alt="share on reddit" />
</a> </a>
</div> </div>

View file

@ -1,7 +1,7 @@
{% include highlightbase.html %} {% include highlightbase.html %}
{% include asciisplash.html %} {% include asciisplash.html %}
<link rel="shortcut icon" href="{{ base }}/assets/img/basspistolico.png" type="image/png" /> <link rel="shortcut icon" href="{{ site.baseurl }}/assets/img/basspistolico.png" type="image/png" />
<link rel="stylesheet" href="{{ base }}/assets/css/style.css" /> <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<link rel="alternate" type="application/rss+xml" href="{{ site.production_url }}/rss.xml" /> <link rel="alternate" type="application/rss+xml" href="{{ site.production_url }}/rss.xml" />
@ -226,5 +226,5 @@
<!-- END rendered SEO Meta --> <!-- END rendered SEO Meta -->
<script src="{{ base }}/assets/js/jquery-3.3.1.min.js"></script> <script src="{{ site.baseurl }}/assets/js/jquery-3.3.1.min.js"></script>

View file

@ -2,31 +2,31 @@
<ul> <ul>
<li class="icofont"> <li class="icofont">
<a href="{{ base }}/" title="Home" class="icofont-home"></a> <a href="{{ site.baseurl }}/" title="Home" class="icofont-home"></a>
</li> </li>
<li class="icofont"> <li class="icofont">
<a href="{{ base }}/discography/" title="Discography" class="icofont-disc"></a> <a href="{{ site.baseurl }}/discography/" title="Discography" class="icofont-disc"></a>
</li> </li>
<li class="icofont"> <li class="icofont">
<a href="{{ base }}/radio/" title="Radio" class="icofont-radio"></a> <a href="{{ site.baseurl }}/radio/" title="Radio" class="icofont-radio"></a>
</li> </li>
<li class="icofont"> <li class="icofont">
<a href="{{ base }}/highlights/" title="Highlights" class="icofont-newspaper current"></a> <a href="{{ site.baseurl }}/highlights/" title="Highlights" class="icofont-newspaper current"></a>
</li> </li>
<li class="icofont"> <li class="icofont">
<a href="{{ base }}/artists/" title="Artists" class="icofont-people"></a> <a href="{{ site.baseurl }}/artists/" title="Artists" class="icofont-people"></a>
</li> </li>
<li class="icofont"> <li class="icofont">
<a href="{{ base }}/about/" title="About" class="icofont-finger-print"></a> <a href="{{ site.baseurl }}/about/" title="About" class="icofont-finger-print"></a>
</li> </li>
<li class="icofont"> <li class="icofont">
<a href="{{ base }}/links/" title="Links" class="icofont-link"></a> <a href="{{ site.baseurl }}/links/" title="Links" class="icofont-link"></a>
</li> </li>
<li class="icofont"> <li class="icofont">

View file

@ -1,7 +1,7 @@
{% include base.html %}
{% include asciisplash.html %} {% include asciisplash.html %}
<link rel="shortcut icon" href="{{ base }}/assets/img/basspistolico.png" type="image/png" /> <link rel="shortcut icon" href="{{ site.baseurl }}/assets/img/basspistolico.png" type="image/png" />
<link rel="stylesheet" href="{{ base }}/assets/css/style.css" /> <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<link rel="alternate" type="application/rss+xml" href="{{ site.production_url }}/rss.xml" /> <link rel="alternate" type="application/rss+xml" href="{{ site.production_url }}/rss.xml" />
@ -221,5 +221,5 @@
<!-- END rendered SEO Meta --> <!-- END rendered SEO Meta -->
<script src="{{ base }}/assets/js/jquery-3.3.1.min.js"></script> <script src="{{ site.baseurl }}/assets/js/jquery-3.3.1.min.js"></script>

View file

@ -2,7 +2,7 @@
<ul> <ul>
{% for link in site.data.navigation %} {% for link in site.data.navigation %}
<li class="icofont"> <li class="icofont">
<a href="{{ base }}{{ link.url }}" title="{{ link.title }}" class="{{ link.text }}{% if page.url == link.url %} current{% endif %}"></a> <a href="{{ site.baseurl }}{{ link.url }}" title="{{ link.title }}" class="{{ link.text }}{% if page.url == link.url %} current{% endif %}"></a>
</li> </li>
{% endfor %} {% endfor %}
<li class="icofont"> <li class="icofont">

View file

@ -5,7 +5,7 @@
* @copyright Copyright (c) 2018 IcoFont * @copyright Copyright (c) 2018 IcoFont
* @license - http://icofont.com/license/ * @license - http://icofont.com/license/
*/ */
{% include base.html %}
@font-face { @font-face {
font-family: 'icofont'; font-family: 'icofont';
src: url('../fonts/icofont.eot?v=1.0.0-beta'); src: url('../fonts/icofont.eot?v=1.0.0-beta');

View file

@ -1,7 +1,7 @@
{% include base.html %}
{% include asciisplash.html %} {% include asciisplash.html %}
<link rel="shortcut icon" href="{{ base }}/assets/img/basspistolico.png" type="image/png" /> <link rel="shortcut icon" href="{{ site.baseurl }}/assets/img/basspistolico.png" type="image/png" />
<link rel="stylesheet" href="{{ base }}/assets/css/style.css" /> <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<link rel="alternate" type="application/rss+xml" href="{{ site.production_url }}/rss.xml" /> <link rel="alternate" type="application/rss+xml" href="{{ site.production_url }}/rss.xml" />
@ -168,4 +168,4 @@
] ]
} }
</script> </script>
<script src="{{ base }}/assets/js/jquery-3.3.1.min.js"></script> <script src="{{ site.baseurl }}/assets/js/jquery-3.3.1.min.js"></script>

View file

@ -1,5 +1,5 @@
/*! basspistol sheet */ /*! basspistol sheet */
{% include base.html %}
h1, h1,
h2, h2,
h3, h3,

View file

@ -1,7 +1,7 @@
{% include base.html %}
{% include asciisplash.html %} {% include asciisplash.html %}
<link rel="shortcut icon" href="{{ base }}/assets/img/basspistolico.png" type="image/png" /> <link rel="shortcut icon" href="{{ site.baseurl }}/assets/img/basspistolico.png" type="image/png" />
<link rel="stylesheet" href="{{ base }}/assets/css/style.css" /> <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<link rel="alternate" type="application/rss+xml" href="{{ site.production_url }}/rss.xml" /> <link rel="alternate" type="application/rss+xml" href="{{ site.production_url }}/rss.xml" />
@ -128,5 +128,5 @@
<!-- END rendered SEO Meta --> <!-- END rendered SEO Meta -->
<script src="{{ base }}/assets/js/jquery-3.3.1.min.js"></script> <script src="{{ site.baseurl }}/assets/js/jquery-3.3.1.min.js"></script>

View file

@ -1,5 +1,5 @@
<video poster="{{ base }}{{ page.poster_image }}" id="bgvid" autoplay playsinline muted loop> <video poster="{{ site.baseurl }}{{ page.poster_image }}" id="bgvid" autoplay playsinline muted loop>
<source src="{{ base }}{{ page.video_path }}" type="video/mp4"> <source src="{{ site.baseurl }}{{ page.video_path }}" type="video/mp4">
</video> </video>
<img id="bgpic" src="{{ base }}{{ page.poster_image }}" alt="Basspistol" /> <img id="bgpic" src="{{ site.baseurl }}{{ page.poster_image }}" alt="Basspistol" />
<div id="headline"><h1>~/{{ page.subtitle }}</h1></div> <div id="headline"><h1>~/{{ page.subtitle }}</h1></div>

View file

@ -9,18 +9,18 @@
{% include navmenu.html %} {% include navmenu.html %}
<div id="content"> <div id="content">
<div id="headline"><h1>~/{{ page.name }} by {{ page.artists }} </h1></div> <div id="headline"><h1>~/{{ page.name }} by {{ page.artists }} </h1></div>
<div id="linkhead" style="background-image:url('{{ base }}{{ page.cover }}');background-size:cover;background-position:center;"></div> <div id="linkhead" style="background-image:url('{{ site.baseurl }}{{ page.cover }}');background-size:cover;background-position:center;"></div>
<div id="linkheadthumb" style="background-image:url('{{ base }}{{ page.cover }}');background-size:cover;background-position:center;"></div> <div id="linkheadthumb" style="background-image:url('{{ site.baseurl }}{{ page.cover }}');background-size:cover;background-position:center;"></div>
<div class="padded"> <div class="padded">
<h1>{{ page.title }}</h1>{% for track in page.tracks limit: 1 %}<a href="{{ track.transformed["ID3v2.4"].WOAS }}" target="_blank" rel="noopener noreferrer"><img src="{{ base }}/assets/img/cloud-download.svg" width="64px" height="64px" /></a>{% endfor %} <h1>{{ page.title }}</h1>{% for track in page.tracks limit: 1 %}<a href="{{ track.transformed["ID3v2.4"].WOAS }}" target="_blank" rel="noopener noreferrer"><img src="{{ site.baseurl }}/assets/img/cloud-download.svg" width="64px" height="64px" /></a>{% endfor %}
<p>Released on: <strong>{{ page.date | date: "%a, %b %d, %Y" }}</strong></p><br /> <p>Released on: <strong>{{ page.date | date: "%a, %b %d, %Y" }}</strong></p><br />
</div> </div>
<div class="fitter"> <div class="fitter">
{% for track in page.tracks %} {% for track in page.tracks %}
<div class="articles"> <div class="articles">
<a href="{{ base }}/tracks/{{ page.slug }}/{{ track.slug }}/"> <a href="{{ site.baseurl }}/tracks/{{ page.slug }}/{{ track.slug }}/">
<img class="recordthumbs_mini" src="{{ base }}{{ track.cover}}" title="{{ track.common.title }}" alt="{{ track.common.title }}" width="100px"/> <img class="recordthumbs_mini" src="{{ site.baseurl }}{{ track.cover}}" title="{{ track.common.title }}" alt="{{ track.common.title }}" width="100px"/>
<br /><h3>{{ track.common.track.no }}. {{ track.common.title }}</h3> <br /><h3>{{ track.common.track.no }}. {{ track.common.title }}</h3>
</a> </a>
{% if track.common.genre != null %}<p>Genre: <strong>{{ track.common.genre }}</strong></p>{% endif %} {% if track.common.genre != null %}<p>Genre: <strong>{{ track.common.genre }}</strong></p>{% endif %}

View file

@ -9,8 +9,8 @@
{% include navmenu.html %} {% include navmenu.html %}
<div id="content"> <div id="content">
<div id="headline"><h1>~/hi-light</h1></div> <div id="headline"><h1>~/hi-light</h1></div>
<a href="{{ page.link }}?ref=TheOuternationalMusicSyndicateWasHere" target="_blank" rel="noopener noreferrer"><div id="linkhead" style="background-image:url('{{ base }}{{ page.image }}');background-size:cover;background-position:center;opacity:0.75;"></div></a> <a href="{{ page.link }}?ref=TheOuternationalMusicSyndicateWasHere" target="_blank" rel="noopener noreferrer"><div id="linkhead" style="background-image:url('{{ site.baseurl }}{{ page.image }}');background-size:cover;background-position:center;opacity:0.75;"></div></a>
<a href="{{ page.link }}?ref=TheOuternationalMusicSyndicateWasHere" target="_blank" rel="noopener noreferrer"><div id="linkheadthumb" style="background-image:url('{{ base }}{{ page.image }}');background-size:cover;background-position:center;opacity:0.75;"></div></a> <a href="{{ page.link }}?ref=TheOuternationalMusicSyndicateWasHere" target="_blank" rel="noopener noreferrer"><div id="linkheadthumb" style="background-image:url('{{ site.baseurl }}{{ page.image }}');background-size:cover;background-position:center;opacity:0.75;"></div></a>
<div class="fitter"> <div class="fitter">
<div class="articles-pargraph"> <div class="articles-pargraph">
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>

View file

@ -10,8 +10,8 @@
<div class="fitter"> <div class="fitter">
{% for page in site.categories.highlights offset: 0 limit: 15 %} {% for page in site.categories.highlights offset: 0 limit: 15 %}
<div class="records"> <div class="records">
<a href="{{ base }}{{ page.url }}"> <a href="{{ site.baseurl }}{{ page.url }}">
<img class="recordthumbs" src="{{ base }}{{ page.coverart.art }}" title="{{ page.title }}" alt="{{ page.title }}" /> <img class="recordthumbs" src="{{ site.baseurl }}{{ page.coverart.art }}" title="{{ page.title }}" alt="{{ page.title }}" />
</a> </a>
</div> </div>
{% endfor %} {% endfor %}

View file

@ -9,8 +9,8 @@
{% include navmenu.html %} {% include navmenu.html %}
<div id="content"> <div id="content">
<div id="headline"><h1>~/hi-light</h1></div> <div id="headline"><h1>~/hi-light</h1></div>
<a href="{{ page.link }}?ref=TheOuternationalMusicSyndicateWasHere" target="_blank" rel="noopener noreferrer"><div id="linkhead" style="background-image:url('{{ base }}{{ page.image }}');background-size:cover;background-position:center;opacity:0.75;"></div></a> <a href="{{ page.link }}?ref=TheOuternationalMusicSyndicateWasHere" target="_blank" rel="noopener noreferrer"><div id="linkhead" style="background-image:url('{{ site.baseurl }}{{ page.image }}');background-size:cover;background-position:center;opacity:0.75;"></div></a>
<a href="{{ page.link }}?ref=TheOuternationalMusicSyndicateWasHere" target="_blank" rel="noopener noreferrer"><div id="linkheadthumb" style="background-image:url('{{ base }}{{ page.image }}');background-size:cover;background-position:center;opacity:0.75;"></div></a> <a href="{{ page.link }}?ref=TheOuternationalMusicSyndicateWasHere" target="_blank" rel="noopener noreferrer"><div id="linkheadthumb" style="background-image:url('{{ site.baseurl }}{{ page.image }}');background-size:cover;background-position:center;opacity:0.75;"></div></a>
<div class="fitter"> <div class="fitter">
<div class="articles-pargraph"> <div class="articles-pargraph">
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>

View file

@ -9,15 +9,15 @@
{% include navmenu.html %} {% include navmenu.html %}
<div id="content"> <div id="content">
<div id="headline"><h1>~/{{ page.common.title }}</h1></div> <div id="headline"><h1>~/{{ page.common.title }}</h1></div>
<div id="linkhead" style="background-image:url('{{ base }}{{ page.cover }}');background-size:cover;background-position:center;"></div> <div id="linkhead" style="background-image:url('{{ site.baseurl }}{{ page.cover }}');background-size:cover;background-position:center;"></div>
<div id="linkheadthumb" style="background-image:url('{{ base }}{{ page.cover }}');background-size:cover;background-position:center;"></div> <div id="linkheadthumb" style="background-image:url('{{ site.baseurl }}{{ page.cover }}');background-size:cover;background-position:center;"></div>
<div class="fitter"> <div class="fitter">
<div class="articles" style="text-align: center"> <div class="articles" style="text-align: center">
<p>&nbsp;</p> <p>&nbsp;</p>
<a id="rwd" href="{{ base }}/tracks/{{ page.previousTrack.albumSlug }}/{{ page.previousTrack.slug }}/">&lt;&lt; RWD</a> <a id="rwd" href="{{ site.baseurl }}/tracks/{{ page.previousTrack.albumSlug }}/{{ page.previousTrack.slug }}/">&lt;&lt; RWD</a>
<button id="mu_pause" style="margin:0 5px 0 5px;">Pause</button> <button id="mu_pause" style="margin:0 5px 0 5px;">Pause</button>
<a id="ffwd" href="{{ base }}/tracks/{{ page.nextTrack.albumSlug }}/{{ page.nextTrack.slug }}/">FWD &gt;&gt;</a> <a id="ffwd" href="{{ site.baseurl }}/tracks/{{ page.nextTrack.albumSlug }}/{{ page.nextTrack.slug }}/">FWD &gt;&gt;</a>
<p style="padding:40px;"><a href="{{ page.transformed["ID3v2.4"].WOAS }}" target="_blank" rel="noopener noreferrer"><img src="{{ base }}/assets/img/cloud-download.svg" width="64px" height="64px" /></a></p> <p style="padding:40px;"><a href="{{ page.transformed["ID3v2.4"].WOAS }}" target="_blank" rel="noopener noreferrer"><img src="{{ site.baseurl }}/assets/img/cloud-download.svg" width="64px" height="64px" /></a></p>
</div> </div>
<div class="articles"> <div class="articles">
<h3>{{ page.common.track.no }}. {{ page.common.title }}</h3> <h3>{{ page.common.track.no }}. {{ page.common.title }}</h3>
@ -38,9 +38,9 @@
</div> </div>
</div> </div>
<audio preload="none" autoplay ontimeupdate="document.getElementById('tracktime').innerHTML = Math.floor(this.currentTime) + ' / ' + Math.floor(this.duration);"> <audio preload="none" autoplay ontimeupdate="document.getElementById('tracktime').innerHTML = Math.floor(this.currentTime) + ' / ' + Math.floor(this.duration);">
<source src="{{ base }}/assets/albums/{{ page.albumSlug }}/{{ page.slug }}.mp3" type="audio/mpeg" /> <source src="{{ site.baseurl }}/assets/albums/{{ page.albumSlug }}/{{ page.slug }}.mp3" type="audio/mpeg" />
<source src="{{ base }}/assets/albums/{{ page.albumSlug }}/{{ page.slug }}.ogg" type="audio/ogg" /> <source src="{{ site.baseurl }}/assets/albums/{{ page.albumSlug }}/{{ page.slug }}.ogg" type="audio/ogg" />
<h1>Your browser isn't ready for so much hotness. Use these links instead: <a href="{{ base }}/assets/albums/{{ page.albumSlug }}/{{ page.slug }}.ogg">OGG</a> or <a href="{{ base }}/assets/albums/{{ page.albumSlug }}/{{ page.slug }}.mp3">MP3</a></h1>. <h1>Your browser isn't ready for so much hotness. Use these links instead: <a href="{{ site.baseurl }}/assets/albums/{{ page.albumSlug }}/{{ page.slug }}.ogg">OGG</a> or <a href="{{ site.baseurl }}/assets/albums/{{ page.albumSlug }}/{{ page.slug }}.mp3">MP3</a></h1>.
</audio> </audio>
<script type="text/javascript"> <script type="text/javascript">
function loadUrl(newLocation) { function loadUrl(newLocation) {
@ -57,7 +57,7 @@
mu.pause(); mu.pause();
mu.currentTime=0; mu.currentTime=0;
loadUrl("{{ base }}/tracks/{{ page.nextTrack.albumSlug }}/{{ page.nextTrack.slug }}/"); return false; loadUrl("{{ site.baseurl }}/tracks/{{ page.nextTrack.albumSlug }}/{{ page.nextTrack.slug }}/"); return false;
// qq IE10 // qq IE10
muFade(); muFade();

View file

@ -1,54 +0,0 @@
#videoplayer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
min-width: 100%;
min-height: 100%;
overflow: hidden;
}
video {
min-width: 100%;
min-height: 100%;
background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/polina.jpg') no-repeat;
background-size: cover;
opacity: 0.3;
-webkit-transition: 1s opacity; transition: 1s opacity;
overflow: hidden;
}
button {
position:fixed;
top:100px;
left: 100px;
display: block;
width: 200px;
padding: .4rem;
border: none;
margin: 1rem auto;
font-size: 1.3rem;
background: rgba(255,255,255,0.23);
color: #fff;
border-radius: 3px;
cursor: pointer;
-webkit-transition: .3s background;
transition: .3s background;
}
#videoplayer button:hover {
background: rgba(0,0,0,0.5);
}
@media screen and (max-width: 500px) {
div{width:70%;}
}
@media all and (max-device-width: 800px) {
body { background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/polina.jpg") #000 no-repeat center center fixed; background-size: cover; }
#bgvid, #videoplayer button { display: none; }
div{width:70%;}
}
.stopfade { opacity: 1;
}

View file

@ -1,46 +0,0 @@
html,
body {
height: 100%;
}
body {
display: flex;
margin: 0;
}
#content {
flex-grow: 1;
background: steelblue;
overflow-x: hidden;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#bgvid {
object-fit: cover;
width: 100%;
height: 100%;
}
button {
position:fixed;
top:70%;
left: 20%;
display: block;
width: 200px;
padding: .4rem;
border: none;
margin: 1rem auto;
font-size: 1.3rem;
background: rgba(255,255,255,0.23);
color: #fff;
border-radius: 3px;
cursor: pointer;
-webkit-transition: .3s background;
transition: .3s background;
}
button:hover {
background: rgba(0,0,0,0.5);
}

View file

@ -20,8 +20,8 @@ poster_image: /assets/vid/discogs.jpg
{% assign sorted = site.albums | reverse %} {% assign sorted = site.albums | reverse %}
{% for album in sorted %} {% for album in sorted %}
<div class="records"> <div class="records">
<a href="{{ base }}/albums/{{ album.slug }}/"> <a href="{{ site.baseurl }}/albums/{{ album.slug }}/">
<img class="recordthumbs" src="{{ base }}{{ album.cover }}" title="{{ album.name }}" alt="{{ album.name }}" /> <img class="recordthumbs" src="{{ site.baseurl }}{{ album.cover }}" title="{{ album.name }}" alt="{{ album.name }}" />
</a> </a>
</div> </div>
{% endfor %} {% endfor %}

View file

@ -30,8 +30,8 @@ pagination:
</div> </div>
{% for post in paginator.posts %} {% for post in paginator.posts %}
<div class="records" style="border-bottom: solid 1px #f4ffe8;"> <div class="records" style="border-bottom: solid 1px #f4ffe8;">
<a href="{{ base }}{{ post.url }}"> <a href="{{ site.baseurl }}{{ post.url }}">
<img class="recordthumbs" src="{{ base }}{{ post.image }}" title="{{ post.title }}" alt="{{ post.title }}" /> <img class="recordthumbs" src="{{ site.baseurl }}{{ post.image }}" title="{{ post.title }}" alt="{{ post.title }}" />
<h3>{{ post.title}}</h3></a> <h3>{{ post.title}}</h3></a>
<p>{{ post.date | date: "%a, %b %d, %Y" }} </p> <p>{{ post.date | date: "%a, %b %d, %Y" }} </p>
<p>{{ post.description }} </p> <p>{{ post.description }} </p>
@ -44,13 +44,13 @@ pagination:
<div class="articles"> <div class="articles">
<h3>page {{ paginator.page }} of {{ paginator.total_pages }}</h3> <h3>page {{ paginator.page }} of {{ paginator.total_pages }}</h3>
{% if paginator.previous_page %} {% if paginator.previous_page %}
<a href="{{ base }}{{ paginator.previous_page_path }}"><h3>&laquo; Newer</h3></a> <a href="{{ site.baseurl }}{{ paginator.previous_page_path }}"><h3>&laquo; Newer</h3></a>
{% else %} {% else %}
{% endif %} {% endif %}
{% if paginator.next_page %} {% if paginator.next_page %}
<a href="{{ base }}{{ paginator.next_page_path }}"><h3>Older &raquo;</h3></a> <a href="{{ site.baseurl }}{{ paginator.next_page_path }}"><h3>Older &raquo;</h3></a>
{% else %} {% else %}
{% endif %} {% endif %}

View file

@ -84,7 +84,7 @@ poster_image: /assets/vid/intro_loop_.jpg
<div class="records"> <div class="records">
<h1>Highlights</h1> <h1>Highlights</h1>
{% for page in site.categories.highlights offset: 0 limit: 1 %} {% for page in site.categories.highlights offset: 0 limit: 1 %}
<a href="{{ base }}{{ page.url }}" title="{{ page.title }}"><div class="highlights" style="background-image: url('{{ base }}{{ page.image }}')"> <a href="{{ site.baseurl }}{{ page.url }}" title="{{ page.title }}"><div class="highlights" style="background-image: url('{{ site.baseurl }}{{ page.image }}')">
</div><h3>{{ page.title }} </h3></a> </div><h3>{{ page.title }} </h3></a>
<p class="editable"> <p class="editable">
Highlights are music-things we think you want to discover. Tracks, articles, videos, interviews and reviews, curated but also original content. They are delivered to you daily. Here or via RSS. Highlights are music-things we think you want to discover. Tracks, articles, videos, interviews and reviews, curated but also original content. They are delivered to you daily. Here or via RSS.

View file

@ -1,12 +1,12 @@
--- ---
--- ---
{% include base.html %}
[ [
{% for album in site.albums %} {% for album in site.albums %}
{ {
"title": "{{ album.name }}", "title": "{{ album.name }}",
"img": "{{ base }}{{ album.cover }}", "img": "{{ site.baseurl }}{{ album.cover }}",
"href": "{{ base }}/albums/{{ album.slug }}" "href": "{{ site.baseurl }}/albums/{{ album.slug }}"
}{% unless forloop.last %},{% endunless %} }{% unless forloop.last %},{% endunless %}
{% endfor %} {% endfor %}
] ]