From dbc81f2102142cfbdfe1bac7a666b6eecb54bf8b Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Fri, 11 Sep 2020 19:13:45 +0200 Subject: [PATCH] cleanup --- _includes/header.html | 12 +++++++++--- _layouts/post.html | 2 +- webcreds.md | 4 ---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index 42193fb..9716c08 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -19,11 +19,17 @@

{{ page.title }}

{% if page.category == 'releases' %} -

by {{ page.artist }}

+ + {% for album in site.albums %} + {% if album.slug == page.album %} +

by {{ album.artists }}

{% endif %} - {% unless page.category == 'releases' %} + {% endfor %} + + {% endif %} +

{{ page.description }}

- {% endunless %} + diff --git a/_layouts/post.html b/_layouts/post.html index d75212e..16be292 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -139,7 +139,7 @@ layout: default {% 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 }} | {{ track.common.genre }}

{{ track.common.year }}

-

Play

+

Play

diff --git a/webcreds.md b/webcreds.md index 5e8bff2..98d9b4c 100644 --- a/webcreds.md +++ b/webcreds.md @@ -10,10 +10,6 @@ layout: page Build with [Jekyll](https://jekyllrb.com/){: rel="noopener"}{: target="_blank"}
Using [Publikator](https://github.com/terminalnetwork/publikator){: rel="noopener"}{: target="_blank"} the rusty metal heart of the Basspistol release machine developed by [aengl.](https://github.com/terminalnetwork/publikator/commits?author=aengl){: rel="noopener"}{: target="_blank"}
Facilitated with [CloudCannon, the cloud CMS for Jekyll](https://cloudcannon.com/){: rel="noopener"}{: target="_blank"}
Hosted and served by [Basspistol](https://basspistol.com){: rel="noopener"}{: target="_blank"} and [Alsenet](https://www.alsenet.com){: target="_blank"}{: rel="noopener"} -## Framework - -Based on *Story* by [html5up.net](https://html5up.net){: rel="noopener"}{: target="_blank"} \| @ajlkn Free for personal and commercial use under the CCA 3.0 [license](https://html5up.net/license){: rel="noopener"}{: target="_blank"} - ## Artwork * 404 Photo by [Kaur Kristjan](https://unsplash.com/@badgerblack?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText){: target="_blank"}{: rel="noopener"}