fixing collection naming

This commit is contained in:
Set Hallstrom 2019-05-03 16:49:20 +02:00
parent 4108c378c4
commit c69680b3fc
33 changed files with 19 additions and 19 deletions

View file

@ -49,7 +49,7 @@ pagination:
### collection ### collection
collections: collections:
music: tracks:
output: true output: true
permalink: /music/:title.html permalink: /music/:title.html

View file

@ -3,20 +3,21 @@ layout: default
--- ---
<div id="player"> <div id="player">
<div id="controls"> <div id="controls">
<button id="mu_pause">Play</button> <div class="container">
<h1>{% if page.previous_in_category != nil %} <button id="mu_pause">Play</button>
<a href="{{ site.baseurl }}{{ page.previous_in_category.url }}" title="Previous Track"><img <h1>{% if page.previous != nil %}
src="{{ site.baseurl }}/assets/img/icons/skiprwd.png" title="Previous Track" /></a> <a href="{{ site.baseurl }}{{ page.previous.url }}" title="Previous Track"><img
{% endif %} src="{{ site.baseurl }}/assets/img/icons/skiprwd.png" title="Previous Track" /></a>
<a id="download" title="Download This Track!" href="{{ site.audio_url }}{{ page.mp3 }}"><img {% endif %}
src="{{ site.baseurl }}/assets/img/icons/dl.png" title="Download Track" /></a> <a id="download" title="Download This Track!" href="{{ site.audio_url }}{{ page.mp3 }}"><img
{% if page.next_in_category != nil %} src="{{ site.baseurl }}/assets/img/icons/dl.png" title="Download Track" /></a>
<a href="{{ site.baseurl }}{{ page.next_in_category.url }}" title="Next Track"><img {% if page.next != nil %}
src="{{ site.baseurl }}/assets/img/icons/skipfwd.png" title="Next Track" /></a>{% endif %} <a href="{{ site.baseurl }}{{ page.next.url }}" title="Next Track"><img
</h1> src="{{ site.baseurl }}/assets/img/icons/skipfwd.png" title="Next Track" /></a>{% endif %}
<a href="{{ site.baseurl }}/music/">Back to Index</a> </h1>
<a href="{{ site.baseurl }}/music/">Back to Index</a>
</div>
</div> </div>
<div id="info"> <div id="info">
<h1 class="title">{{ page.title }}</h1> <h1 class="title">{{ page.title }}</h1>
{{ page.content }} {{ page.content }}
@ -64,9 +65,8 @@ layout: default
}); });
</script> </script>
<style type="text/css"> <style type="text/css">
html, #player {
body { background-image:url('{{ site.audio_url }}{{ page.image }}') ;
background:url('{{ site.audio_url }}{{ page.image }}') #0ff no-repeat center fixed;
background-size: contain;
} }
</style> </style>

View file

@ -5,7 +5,7 @@ layout: default
--- ---
<div class="musiflex"> <div class="musiflex">
{% for track in site.music reversed %} {% for track in site.tracks reversed %}
<div class="trackcontainer"> <div class="trackcontainer">
<a href="{{ track.url }}"> <a href="{{ track.url }}">
<div class="track" style="background-image:url({{ site.audio_url }}{{ track.image }});"></div> <div class="track" style="background-image:url({{ site.audio_url }}{{ track.image }});"></div>