sakrecoer-mother-web/index.html

136 lines
5 KiB
HTML
Raw Normal View History

2020-07-21 11:05:32 +02:00
---
2020-07-24 11:02:28 +02:00
title: Uncorporeal Music
subtitle: Sakrecoer
2020-07-21 11:05:32 +02:00
description: >-
2020-07-24 11:02:28 +02:00
Homepage of Sakrecoer. I am funky and i deliver music.
2020-07-21 11:05:32 +02:00
tags:
2020-07-24 11:02:28 +02:00
- outernational
2020-07-21 11:05:32 +02:00
- music
- homepage
- free
- culture
image: /assets/img/live_original.gif
logo_image: /siteicon.png
---
{% include relBase.html %}
<!-- Banner -->
<section
class="banner onload-image-fade-in onload-content-fade-right style5 fullscreen content-align-center image-position-center;"
style="background-image:url('{{ page.image }}');background-size:cover;background-repeat:no-repeat;background-position: center;min-height: 100vh;">
<div
style="z-index:0;position:absolute; top:0; left:0; width:100%;min-height:100%;background-color: rgba(13, 13 ,13, 0.5);">
</div>
<div class="content" style="z-index:1">
<h1 style="margin-top:80px">{{ site.title }}</h1>
<p>{{ site.description }}</p>
<ul class="actions stacked">
2020-07-28 12:47:55 +02:00
<li><a href="#music" class="button large smooth-scroll-middle">Gimme Music!</a></li>
2020-07-21 11:05:32 +02:00
</ul>
</div>
<div class="image">
<img src="{{ relBase }}{{ site.logo }}" alt="{{ site.title }} logo" />
</div>
</section>
<!-- Posts -->
{% for post in site.posts limit: '2' %}
<section id="album{% increment var %}"
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">
<div class="content">
<h1>{{ post.title }}</h1>
<p>{{ post.description }}</p>
{% if post.category == 'release' %}
{% capture album_name -%}
{{ post.album }}
{%- endcapture %}
{% for album in site.albums %}
{% capture name -%}
{{ album.relative_path | replace_first: album.collection, '' | replace_first: '_/', '' | replace_first: '.md', '' }}
{%- endcapture %}
{% if name == album_name %}
<p>{{ album.date | date: '%Y' }}</p>
{% for track in album.tracks %}
2020-07-28 14:45:01 +02:00
<p style="margin-bottom: 30px;font-size: 14px">
2020-07-21 11:05:32 +02:00
<strong>{{ track.common.track.no }}. {{ track.common.title }}</strong><br />
<span id="{{ track.common.title | slugify | remove: '-' }}"></span> |
2020-07-28 14:45:01 +02:00
<span style="font-size: 14px">{{ track.common.genre }} </span>
2020-07-21 11:05:32 +02:00
</p>
<script type="text/javascript">
var {{ track.common.title | slugify | remove: '-' }}timestamp = {{ track.format.duration | round }};
var {{ track.common.title | slugify | remove: '-' }}hours = Math.floor({{ track.common.title | slugify | remove: '-' }}timestamp / 60 / 60);
var {{ track.common.title | slugify | remove: '-' }}minutes = Math.floor({{ track.common.title | slugify | remove: '-' }}timestamp / 60) - ({{ track.common.title | slugify | remove: '-' }}hours * 60);
var {{ track.common.title | slugify | remove: '-' }}seconds = {{ track.common.title | slugify | remove: '-' }}timestamp % 60;
var {{ track.common.title | slugify | remove: '-' }}formatted = {{ track.common.title | slugify | remove: '-' }}hours.toString().padStart(2, '0') + ':' + {{ track.common.title | slugify | remove: '-' }}minutes.toString().padStart(2, '0') + ':' + {{ track.common.title | slugify | remove: '-' }}seconds.toString().padStart(2, '0');
var theSpan = document.getElementById("{{ track.common.title | slugify | remove: '-' }}");
theSpan.innerHTML = {{ track.common.title | slugify | remove: '-' }}formatted;
</script>
{% endfor %}
{% break %} {% endif %} {% endfor %}
{% endif %}
<br />
<ul class="actions stacked">
<li><a href="{{ relBase }}{{ post.url }}"
class="button big wide {% if post.category == 'release' %}icon solid fa-volume-up{% endif %}">Cheggid out</a>
</li>
</ul>
</div>
<div class="image">
<img src="{{ relBase }}{{ post.image }}" alt="{{ post.title }}" title="{{ post.title }}" />
</div>
</section>
{% endfor %}
2020-07-21 12:00:02 +02:00
{% include streamer.html %}
2020-07-21 11:05:32 +02:00
<!-- Releases -->
<section id="music" class="wrapper style1 align-center">
<div class="inner" style="padding-top: 40px;">
<h2>Releases</h2>
<p>Collection of releases through time</p>
</div>
</section>
2020-07-21 12:00:02 +02:00
2020-07-21 11:05:32 +02:00
{% assign sorted = site.albums | sort: 'date' | reverse %}
{% for album in sorted %}
2020-07-21 12:00:02 +02:00
<section
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 %}>
2020-07-21 11:05:32 +02:00
<div class="content">
2020-07-21 12:00:02 +02:00
<h3>{{ album.title }}</h3>
<p>{{ album.date | date: "%Y" }}</p>
2020-07-21 11:05:32 +02:00
<ul class="actions stacked">
<li><a href="{{ album.url }}" style="text-decoration:none;" class="button">Listen</a></li>
</ul>
</div>
<div class="image">
2020-07-21 12:00:02 +02:00
<img src="{{ site.mediaurl }}/{{ album.slug }}/{{ album.tracks[0].trackSlug }}.jpeg"
alt="{{ album.title | smartify }}" />
2020-07-21 11:05:32 +02:00
</div>
</section>
{% endfor %}
2020-07-21 12:00:02 +02:00
<!-- END Release -->
{% include streamer.html %}
2020-07-24 11:02:28 +02:00
{% include footer.html %}