Merge branch 'master' into content-setto

This commit is contained in:
Set Hallstrom 2020-07-27 14:37:41 +02:00
commit e772495fbf
4 changed files with 15 additions and 12 deletions

View file

@ -44,7 +44,7 @@ categories:
collections: collections:
albums: albums:
output: true output: false
permalink: /albums/:name/ permalink: /albums/:name/
tracks: tracks:
output: true output: true

View file

@ -76,8 +76,11 @@ layout: default
</div> </div>
</div> </div>
</section> </section>
{% for post in site.posts %}
{% if post.album == page.albumSlug %}
{% include streamer.html %} {% include streamer.html %}
{% endif %}
{% endfor %}
<!-- Page navigation --> <!-- Page navigation -->
<section class="wrapper style1 align-center"> <section class="wrapper style1 align-center">
<div class="inner"> <div class="inner">

View file

@ -36,9 +36,9 @@ image: /images/pages/jack-hamilton-CMnNiQBkwBI-unsplash.jpg
</section> </section>
{% assign sorted = site.albums | sort: 'date' | reverse %} {% assign sorted = site.posts | sort: 'date' | reverse %}
{% for album in sorted %} {% for album in sorted %}
{% if album.category == 'releases' %}
<section class="spotlight style4 orient-{% cycle 'left', 'right' %} content-align-left image-position-center onscroll-image-fade-in" {% if forloop.index == 1 %}style="box-shadow: none;" {% endif %}> <section class="spotlight style4 orient-{% cycle 'left', 'right' %} content-align-left image-position-center onscroll-image-fade-in" {% if forloop.index == 1 %}style="box-shadow: none;" {% endif %}>
<div class="content"> <div class="content">
<h1>{{ album.title }}</h1> <h1>{{ album.title }}</h1>
@ -66,11 +66,11 @@ image: /images/pages/jack-hamilton-CMnNiQBkwBI-unsplash.jpg
</div> </div>
<div class="image"> <div class="image">
<img src="{{ site.mediaurl }}/{{ album.slug }}/{{ album.tracks[0].trackSlug }}.jpeg" alt="{{ album.title }}" title="{{ album.title }}" /> <img src="{{ album.image }}" alt="{{ album.title }}" title="{{ album.title }}" />
</div> </div>
</section> </section>
{% endif %}
{% endfor %} {% endfor %}
{% include streamer.html %} {% include streamer.html %}

View file

@ -43,7 +43,7 @@ logo_image: /siteicon.png
</div> </div>
</section> </section>
{% for post in site.posts limit: '2' %} {% for post in site.posts limit: '1' %}
<section <section
class="section-shadow banner style1 orient-{% cycle 'left', 'right' %} content-align-{% cycle 'right', 'left' %} image-position-center fullscreen onload-image-fade-in onload-content-fade-right"> class="section-shadow banner style1 orient-{% cycle 'left', 'right' %} content-align-{% cycle 'right', 'left' %} image-position-center fullscreen onload-image-fade-in onload-content-fade-right">
@ -102,9 +102,9 @@ logo_image: /siteicon.png
</section> </section>
{% assign sorted = site.albums | sort: 'date' | reverse %} {% assign sorted = site.posts | sort: 'date' | reverse %}
{% for album in sorted %} {% for album in sorted | offset: '1' %}
{% if album.category == 'releases' %}
<section <section
class="spotlight style5 orient-{% cycle 'left', 'right' %} content-align-{% cycle 'right', 'left' %} image-position-center onscroll-image-fade-in" class="spotlight style5 orient-{% cycle 'left', 'right' %} content-align-{% cycle 'right', 'left' %} image-position-center onscroll-image-fade-in"
{% if forloop.index == 1 %}style="box-shadow: none;" {% endif %}> {% if forloop.index == 1 %}style="box-shadow: none;" {% endif %}>
@ -119,12 +119,12 @@ logo_image: /siteicon.png
</ul> </ul>
</div> </div>
<div class="image"> <div class="image">
<img src="{{ site.mediaurl }}/{{ album.slug }}/{{ album.tracks[0].trackSlug }}.jpeg" <img src="{{ album.image }}"
alt="{{ album.title | smartify }}" /> alt="{{ album.title | smartify }}" />
</div> </div>
</section> </section>
{% endif %}
{% endfor %} {% endfor %}
<!-- END Release --> <!-- END Release -->