move away from deprecated realtive path
This commit is contained in:
parent
d53c344a70
commit
49fa7ba79f
|
@ -21,7 +21,7 @@ social:
|
|||
mastodon: 'https://mastodon.art/@basspistol'
|
||||
|
||||
production_url : https://basspistol.com
|
||||
baseurl : '/'
|
||||
baseurl : ''
|
||||
shop_url: https://shop.basspistol.com/
|
||||
|
||||
# excerpt_separator: '<!--more-->'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% if page.author != null %}
|
||||
{% assign author_id = page.author | prepend: "/staff_members/" | append: "/" %}
|
||||
{% assign author_name = site.staff_members | where: "url", author_id | first %}
|
||||
<a href="mailto:info+comment@basspistol.com?subject=Regarding the post "{{ page.title }}"!&body=Hey Set! The post on on your site with the title "{{ page.title }}" 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 "{{ page.title }}"!&body=Hey Set! The post on on your site with the title "{{ page.title }}" 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 "{{ page.title }}"!&body=Hey Set! The post on on your site with the title "{{ page.title }}" 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 %}
|
|
@ -17,28 +17,28 @@
|
|||
<br /><br /><a id="commentlink" href="mailto:info+comment@basspistol.com?subject=Regarding the post "{{ page.title }}"!&body=Hey! The post on on your site with the title "{{ page.title }}" is wrong/right/good/bad/weird/peanuts/jelly/crazy/" style="text-decoration:none;">Write a comment</a>
|
||||
<br /><br /><h2>
|
||||
{% if prev_post %}
|
||||
<a href="{{ base }}{{ prev_post }}" style="text-decoration: none;">« Older</a> {% if next_post %}<span style="color:#313d26;">|</span>{% endif %}
|
||||
<a href="{{ site.baseurl }}{{ prev_post }}" style="text-decoration: none;">« Older</a> {% if next_post %}<span style="color:#313d26;">|</span>{% endif %}
|
||||
{% endif %}
|
||||
{% if next_post %}
|
||||
<a href="{{ base }}{{ next_post }}" style="text-decoration: none;">Newer»</a>
|
||||
<a href="{{ site.baseurl }}{{ next_post }}" style="text-decoration: none;">Newer»</a>
|
||||
{% endif %}
|
||||
</h2>
|
||||
|
||||
<p>Tags:</p>
|
||||
{% 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 %}
|
||||
<br /><br />
|
||||
<a style="text-decoration: none;" href="https://touch.facebook.com/sharer.php?u={{ page.link | xml_escape }}"e={{ 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 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 style="text-decoration: none;" href="https://telegram.me/share/url?url={{ page.link }}&text={{ page.description }} via @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 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>
|
||||
</div>
|
|
@ -1,7 +1,7 @@
|
|||
{% include highlightbase.html %}
|
||||
{% include asciisplash.html %}
|
||||
<link rel="shortcut icon" href="{{ base }}/assets/img/basspistolico.png" type="image/png" />
|
||||
<link rel="stylesheet" href="{{ base }}/assets/css/style.css" />
|
||||
<link rel="shortcut icon" href="{{ site.baseurl }}/assets/img/basspistolico.png" type="image/png" />
|
||||
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css" />
|
||||
<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" />
|
||||
|
||||
|
@ -226,5 +226,5 @@
|
|||
|
||||
|
||||
<!-- 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>
|
||||
|
||||
|
|
|
@ -2,31 +2,31 @@
|
|||
<ul>
|
||||
|
||||
<li class="icofont">
|
||||
<a href="{{ base }}/" title="Home" class="icofont-home"></a>
|
||||
<a href="{{ site.baseurl }}/" title="Home" class="icofont-home"></a>
|
||||
</li>
|
||||
|
||||
<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 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 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 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 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 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 class="icofont">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% include base.html %}
|
||||
|
||||
{% include asciisplash.html %}
|
||||
<link rel="shortcut icon" href="{{ base }}/assets/img/basspistolico.png" type="image/png" />
|
||||
<link rel="stylesheet" href="{{ base }}/assets/css/style.css" />
|
||||
<link rel="shortcut icon" href="{{ site.baseurl }}/assets/img/basspistolico.png" type="image/png" />
|
||||
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css" />
|
||||
<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" />
|
||||
|
||||
|
@ -221,5 +221,5 @@
|
|||
|
||||
|
||||
<!-- 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>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<ul>
|
||||
{% for link in site.data.navigation %}
|
||||
<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>
|
||||
{% endfor %}
|
||||
<li class="icofont">
|
||||
|
|
2
_includes/normalize.css
vendored
2
_includes/normalize.css
vendored
|
@ -5,7 +5,7 @@
|
|||
* @copyright Copyright (c) 2018 IcoFont
|
||||
* @license - http://icofont.com/license/
|
||||
*/
|
||||
{% include base.html %}
|
||||
|
||||
@font-face {
|
||||
font-family: 'icofont';
|
||||
src: url('../fonts/icofont.eot?v=1.0.0-beta');
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% include base.html %}
|
||||
|
||||
{% include asciisplash.html %}
|
||||
<link rel="shortcut icon" href="{{ base }}/assets/img/basspistolico.png" type="image/png" />
|
||||
<link rel="stylesheet" href="{{ base }}/assets/css/style.css" />
|
||||
<link rel="shortcut icon" href="{{ site.baseurl }}/assets/img/basspistolico.png" type="image/png" />
|
||||
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css" />
|
||||
<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" />
|
||||
|
||||
|
@ -168,4 +168,4 @@
|
|||
]
|
||||
}
|
||||
</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>
|
|
@ -1,5 +1,5 @@
|
|||
/*! basspistol sheet */
|
||||
{% include base.html %}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% include base.html %}
|
||||
|
||||
{% include asciisplash.html %}
|
||||
<link rel="shortcut icon" href="{{ base }}/assets/img/basspistolico.png" type="image/png" />
|
||||
<link rel="stylesheet" href="{{ base }}/assets/css/style.css" />
|
||||
<link rel="shortcut icon" href="{{ site.baseurl }}/assets/img/basspistolico.png" type="image/png" />
|
||||
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css" />
|
||||
<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" />
|
||||
|
||||
|
@ -128,5 +128,5 @@
|
|||
|
||||
|
||||
<!-- 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>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<video poster="{{ base }}{{ page.poster_image }}" id="bgvid" autoplay playsinline muted loop>
|
||||
<source src="{{ base }}{{ page.video_path }}" type="video/mp4">
|
||||
<video poster="{{ site.baseurl }}{{ page.poster_image }}" id="bgvid" autoplay playsinline muted loop>
|
||||
<source src="{{ site.baseurl }}{{ page.video_path }}" type="video/mp4">
|
||||
</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>
|
||||
|
|
|
@ -9,18 +9,18 @@
|
|||
{% include navmenu.html %}
|
||||
<div id="content">
|
||||
<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="linkheadthumb" 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('{{ site.baseurl }}{{ page.cover }}');background-size:cover;background-position:center;"></div>
|
||||
<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 />
|
||||
|
||||
</div>
|
||||
<div class="fitter">
|
||||
{% for track in page.tracks %}
|
||||
<div class="articles">
|
||||
<a href="{{ base }}/tracks/{{ page.slug }}/{{ track.slug }}/">
|
||||
<img class="recordthumbs_mini" src="{{ base }}{{ track.cover}}" title="{{ track.common.title }}" alt="{{ track.common.title }}" width="100px"/>
|
||||
<a href="{{ site.baseurl }}/tracks/{{ page.slug }}/{{ track.slug }}/">
|
||||
<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>
|
||||
</a>
|
||||
{% if track.common.genre != null %}<p>Genre: <strong>{{ track.common.genre }}</strong></p>{% endif %}
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
{% include navmenu.html %}
|
||||
<div id="content">
|
||||
<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="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="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('{{ site.baseurl }}{{ page.image }}');background-size:cover;background-position:center;opacity:0.75;"></div></a>
|
||||
<div class="fitter">
|
||||
<div class="articles-pargraph">
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
<div class="fitter">
|
||||
{% for page in site.categories.highlights offset: 0 limit: 15 %}
|
||||
<div class="records">
|
||||
<a href="{{ base }}{{ page.url }}">
|
||||
<img class="recordthumbs" src="{{ base }}{{ page.coverart.art }}" title="{{ page.title }}" alt="{{ page.title }}" />
|
||||
<a href="{{ site.baseurl }}{{ page.url }}">
|
||||
<img class="recordthumbs" src="{{ site.baseurl }}{{ page.coverart.art }}" title="{{ page.title }}" alt="{{ page.title }}" />
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
{% include navmenu.html %}
|
||||
<div id="content">
|
||||
<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="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="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('{{ site.baseurl }}{{ page.image }}');background-size:cover;background-position:center;opacity:0.75;"></div></a>
|
||||
<div class="fitter">
|
||||
<div class="articles-pargraph">
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
|
|
@ -9,15 +9,15 @@
|
|||
{% include navmenu.html %}
|
||||
<div id="content">
|
||||
<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="linkheadthumb" 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('{{ site.baseurl }}{{ page.cover }}');background-size:cover;background-position:center;"></div>
|
||||
<div class="fitter">
|
||||
<div class="articles" style="text-align: center">
|
||||
<p> </p>
|
||||
<a id="rwd" href="{{ base }}/tracks/{{ page.previousTrack.albumSlug }}/{{ page.previousTrack.slug }}/"><< RWD</a>
|
||||
<a id="rwd" href="{{ site.baseurl }}/tracks/{{ page.previousTrack.albumSlug }}/{{ page.previousTrack.slug }}/"><< RWD</a>
|
||||
<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 >></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>
|
||||
<a id="ffwd" href="{{ site.baseurl }}/tracks/{{ page.nextTrack.albumSlug }}/{{ page.nextTrack.slug }}/">FWD >></a>
|
||||
<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 class="articles">
|
||||
<h3>{{ page.common.track.no }}. {{ page.common.title }}</h3>
|
||||
|
@ -38,9 +38,9 @@
|
|||
</div>
|
||||
</div>
|
||||
<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="{{ base }}/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>.
|
||||
<source src="{{ site.baseurl }}/assets/albums/{{ page.albumSlug }}/{{ page.slug }}.mp3" type="audio/mpeg" />
|
||||
<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="{{ 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>
|
||||
<script type="text/javascript">
|
||||
function loadUrl(newLocation) {
|
||||
|
@ -57,7 +57,7 @@
|
|||
mu.pause();
|
||||
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
|
||||
muFade();
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -20,8 +20,8 @@ poster_image: /assets/vid/discogs.jpg
|
|||
{% assign sorted = site.albums | reverse %}
|
||||
{% for album in sorted %}
|
||||
<div class="records">
|
||||
<a href="{{ base }}/albums/{{ album.slug }}/">
|
||||
<img class="recordthumbs" src="{{ base }}{{ album.cover }}" title="{{ album.name }}" alt="{{ album.name }}" />
|
||||
<a href="{{ site.baseurl }}/albums/{{ album.slug }}/">
|
||||
<img class="recordthumbs" src="{{ site.baseurl }}{{ album.cover }}" title="{{ album.name }}" alt="{{ album.name }}" />
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
|
@ -30,8 +30,8 @@ pagination:
|
|||
</div>
|
||||
{% for post in paginator.posts %}
|
||||
<div class="records" style="border-bottom: solid 1px #f4ffe8;">
|
||||
<a href="{{ base }}{{ post.url }}">
|
||||
<img class="recordthumbs" src="{{ base }}{{ post.image }}" title="{{ post.title }}" alt="{{ post.title }}" />
|
||||
<a href="{{ site.baseurl }}{{ post.url }}">
|
||||
<img class="recordthumbs" src="{{ site.baseurl }}{{ post.image }}" title="{{ post.title }}" alt="{{ post.title }}" />
|
||||
<h3>{{ post.title}}</h3></a>
|
||||
<p>{{ post.date | date: "%a, %b %d, %Y" }} </p>
|
||||
<p>{{ post.description }} </p>
|
||||
|
@ -44,13 +44,13 @@ pagination:
|
|||
<div class="articles">
|
||||
<h3>page {{ paginator.page }} of {{ paginator.total_pages }}</h3>
|
||||
{% if paginator.previous_page %}
|
||||
<a href="{{ base }}{{ paginator.previous_page_path }}"><h3>« Newer</h3></a>
|
||||
<a href="{{ site.baseurl }}{{ paginator.previous_page_path }}"><h3>« Newer</h3></a>
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if paginator.next_page %}
|
||||
<a href="{{ base }}{{ paginator.next_page_path }}"><h3>Older »</h3></a>
|
||||
<a href="{{ site.baseurl }}{{ paginator.next_page_path }}"><h3>Older »</h3></a>
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -84,7 +84,7 @@ poster_image: /assets/vid/intro_loop_.jpg
|
|||
<div class="records">
|
||||
<h1>Highlights</h1>
|
||||
{% 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>
|
||||
<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.
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
---
|
||||
---
|
||||
{% include base.html %}
|
||||
|
||||
[
|
||||
{% for album in site.albums %}
|
||||
{
|
||||
"title": "{{ album.name }}",
|
||||
"img": "{{ base }}{{ album.cover }}",
|
||||
"href": "{{ base }}/albums/{{ album.slug }}"
|
||||
"img": "{{ site.baseurl }}{{ album.cover }}",
|
||||
"href": "{{ site.baseurl }}/albums/{{ album.slug }}"
|
||||
}{% unless forloop.last %},{% endunless %}
|
||||
{% endfor %}
|
||||
]
|
Loading…
Reference in a new issue