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">
<div class="container">
<button id="mu_pause">Play</button> <button id="mu_pause">Play</button>
<h1>{% if page.previous_in_category != nil %} <h1>{% if page.previous != nil %}
<a href="{{ site.baseurl }}{{ page.previous_in_category.url }}" title="Previous Track"><img <a href="{{ site.baseurl }}{{ page.previous.url }}" title="Previous Track"><img
src="{{ site.baseurl }}/assets/img/icons/skiprwd.png" title="Previous Track" /></a> src="{{ site.baseurl }}/assets/img/icons/skiprwd.png" title="Previous Track" /></a>
{% endif %} {% endif %}
<a id="download" title="Download This Track!" href="{{ site.audio_url }}{{ page.mp3 }}"><img <a id="download" title="Download This Track!" href="{{ site.audio_url }}{{ page.mp3 }}"><img
src="{{ site.baseurl }}/assets/img/icons/dl.png" title="Download Track" /></a> src="{{ site.baseurl }}/assets/img/icons/dl.png" title="Download Track" /></a>
{% if page.next_in_category != nil %} {% if page.next != nil %}
<a href="{{ site.baseurl }}{{ page.next_in_category.url }}" title="Next Track"><img <a href="{{ site.baseurl }}{{ page.next.url }}" title="Next Track"><img
src="{{ site.baseurl }}/assets/img/icons/skipfwd.png" title="Next Track" /></a>{% endif %} src="{{ site.baseurl }}/assets/img/icons/skipfwd.png" title="Next Track" /></a>{% endif %}
</h1> </h1>
<a href="{{ site.baseurl }}/music/">Back to Index</a> <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>