replace albumm output with post
This commit is contained in:
parent
2a959e4e75
commit
58ccd3a4f3
|
@ -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
|
||||||
|
|
|
@ -54,23 +54,33 @@ layout: default
|
||||||
<section style="padding-top:40px">
|
<section style="padding-top:40px">
|
||||||
{% include author.html %}
|
{% include author.html %}
|
||||||
<!-- Content -->
|
<!-- Content -->
|
||||||
{% if page.all.UNSYNCEDLYRICS != nil %}
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{% unless page.all.UNSYNCEDLYRICS == '' %}<h2>Lyrics</h2>{% endunless %}
|
{% if page.all.UNSYNCEDLYRICS and page.all.USLT %}
|
||||||
|
<p style="font-family: monospace;font-size:16px;">
|
||||||
|
{{ page.all.USLT.text | newline_to_br }}
|
||||||
|
</p>
|
||||||
|
{% elsif page.all.USLT and page.all.UNSYNCEDLYRICS == nil %}
|
||||||
|
<p style="font-family: monospace;font-size:16px;">
|
||||||
|
{{ page.all.USLT.text | newline_to_br }}
|
||||||
|
</p>
|
||||||
|
{% elsif page.all.UNSYNCEDLYRICS and page.all.USLT == nil %}
|
||||||
<p style="font-family: monospace;font-size:16px;">
|
<p style="font-family: monospace;font-size:16px;">
|
||||||
{{ page.all.UNSYNCEDLYRICS | newline_to_br }}
|
{{ page.all.UNSYNCEDLYRICS | newline_to_br }}
|
||||||
</p>
|
</p>
|
||||||
|
{% endif %}
|
||||||
<p>
|
<p>
|
||||||
{{ page.all.Comment }}
|
{{ page.all.Comment }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
|
||||||
</section>
|
</section>
|
||||||
</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">
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
12
index.html
12
index.html
|
@ -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 -->
|
||||||
|
|
Loading…
Reference in a new issue