upgrade setto
This commit is contained in:
parent
479cff7a23
commit
f15d28a769
84 changed files with 4207 additions and 593 deletions
55
index.html
55
index.html
|
|
@ -6,7 +6,26 @@ description: >-
|
|||
image: /images/pages/pingu.jpg
|
||||
---
|
||||
{% include relBase.html %}
|
||||
{% include header.html %}
|
||||
<header class="hero" id="top"
|
||||
style="{% unless page.video_path %}background-image: url({{ page.image }});{% endunless %}">
|
||||
<div class="imagecontainer">
|
||||
<h4>{{ page.title }}</h4>
|
||||
</div>
|
||||
|
||||
|
||||
</header>
|
||||
<section class="splash">
|
||||
<div class="container">
|
||||
<div class="splash-logo">
|
||||
<img src="{{ site.icon }}" width="240px" alt="{{ site.title }} Logo" />
|
||||
</div>
|
||||
<div>
|
||||
|
||||
<h1>{{ site.title }}</h1>
|
||||
<p>{{ page.description }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% for post in site.posts limit: 1 %}
|
||||
|
||||
<section class="news">
|
||||
|
|
@ -22,13 +41,16 @@ image: /images/pages/pingu.jpg
|
|||
|
||||
</section>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
<section class="releases">
|
||||
<h2>EPs and LPs</h2>
|
||||
<h2>Releases</h2>
|
||||
<div class="container">
|
||||
{% assign sorted = site.albums | sort: 'date' | reverse %}
|
||||
{% for album in sorted %}
|
||||
{% for post in site.posts %}
|
||||
{% if album.slug == post.album %}
|
||||
{% if post.tags contains 'EP' or post.tags contains 'LP' %}
|
||||
|
||||
<article>
|
||||
<figure>
|
||||
<a href="{{ post.url }}">
|
||||
|
|
@ -51,32 +73,9 @@ image: /images/pages/pingu.jpg
|
|||
</figcaption>
|
||||
</figure>
|
||||
</article>
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
<section class="releases">
|
||||
<h2>Singles</h2>
|
||||
|
||||
{% for track in sorted %}
|
||||
{% for post in site.posts %}
|
||||
{% if track.slug == post.album %}
|
||||
{% if post.tags contains 'single' %}
|
||||
|
||||
<article>
|
||||
<figure>
|
||||
<a href="{{ post.url }}">
|
||||
<img src="{{ site.mediaurl }}/{{ track.tracks[0].slug }}.jpeg" alt="Cover art for {{ post.title }}" /></a>
|
||||
<figcaption>
|
||||
<strong>{{ track.tracks[0].common.title }}</strong><br />
|
||||
{% assign round_seconds = track.tracks[0].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 }} |
|
||||
{{ track.tracks[0].common.genre }}
|
||||
</figcaption>
|
||||
</figure>
|
||||
</article>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue