finalization

This commit is contained in:
sakrecoer 2020-08-04 12:07:59 +02:00
parent 8fcda1a3d0
commit 4fc28d4906
16 changed files with 174 additions and 177 deletions

View file

@ -13,61 +13,23 @@ video_path:
image: /images/pages/jack-hamilton-CMnNiQBkwBI-unsplash.jpg
---
<!-- Banner -->
<section class="banner onload-image-fade-in onload-content-fade-right style2 fullscreen content-align-center image-position-center" style="min-height:100vh;">
<div class="content editable">
<h1 class="editable">{{ page.subtitle }}</h1>
<p>{{ page.description }}</p>
<ul class="actions stacked">
<li><a href="#moe" class="button small smooth-scroll">Cheggit!</a></li>
</ul>
</div>
<div class="image">
<img src="{{ relBase }}{{ page.image }}" alt="{{ page.title }}" class="editable" />
</div>
</section>
<section class="wrapper style1 align-center" id="moe">
</section>
{% include relBase.html %}
{% include header.html %}
{% assign sorted = site.posts | sort: 'date' | reverse %}
{% 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 %}>
<div class="content">
<h1>{{ album.title }}</h1>
{% for post in sorted %}
{% if post.category == 'releases' %}
<section class="news" style="margin:0;">
<div style="background-image:url({{ relBase }}{{ post.image }}"></div>
<div class="description">
<h2>{{ post.title }}</h2>
<p><strong>{% include forloop-dates.html %}</strong></p>
<p>{{ post.description }}</p>
<p><a href="{{ relBase }}{{ post.url }}" class="button">Read post</a></p>
</div>
<p>{{ album.date | date: '%Y' }}</p>
{% for release in site.albums %}
{% if release.slug == album.album %}
{% for track in release.tracks %}
<p style="margin-bottom: 30px; font-size: 14px">
<strong>{{ track.common.track.no }}. {{ track.common.title }}</strong><br />
<span>{% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{% assign seconds_without_zero = round_seconds | minus: leftover_seconds %}{% if seconds_without_zero < 10 %}0{% endif %}{{ seconds_without_zero }}</span>{% if track.common.genre != null %} |
<span style="font-size: 14px">{{ track.common.genre }} </span>{% endif %}
</p>
{% endfor %}
{% endif %}
{% endfor %}
<br />
<ul class="actions stacked">
<li><a href="{{ album.url }}" class="button small icon solid fa-volume-up">Listen</a>
</li>
</ul>
</div>
<div class="image">
<img src="{{ album.image }}" alt="{{ album.title }}" title="{{ album.title }}" />
</div>
</section>
{% endif %}
{% endfor %}
{% include footer.html %}
{% endfor %}