fix new content and filters

This commit is contained in:
Set Hallstrom 2020-09-25 11:14:52 +02:00
parent a0127d478c
commit 34dfc470d8
4 changed files with 11 additions and 10 deletions

View file

@ -1,7 +1,7 @@
--- ---
title: 'Waiting Game' title: 'Waiting Game'
artist: 'Sakrecoer' artist: 'Sakrecoer'
category: highlights category: releases
date: 2019-01-18 19:07:00 +0200 date: 2019-01-18 19:07:00 +0200
author: bassBot author: bassBot
tags: [internal,album] tags: [internal,album]
@ -10,7 +10,7 @@ uid: 'waitinggamesakrecoer2019'
image: '/assets/img/waitinggame.jpg' image: '/assets/img/waitinggame.jpg'
download: '' download: ''
link: 'https://sakrecoer.com/waitinggame/' link: 'https://sakrecoer.com/waitinggame/'
album: album: waiting-game
check_this_if_cannot_be_bought: true check_this_if_cannot_be_bought: true
stores: stores:
- name: - name:

View file

@ -1,7 +1,7 @@
--- ---
title: K'as-tu fait de nous? title: K'as-tu fait de nous?
artist: 徒 Setto セット artist: 徒 Setto セット
category: highlights category: releases
date: 2019-01-20 19:07:00 +0200 date: 2019-01-20 19:07:00 +0200
author: bassBot author: bassBot
tags: tags:
@ -14,7 +14,7 @@ uid: kas tu fais de nous 2019
image: /assets/img/2018-setto-single-003-reve_de_toi-117bpm_sqaure_FINAL.jpg image: /assets/img/2018-setto-single-003-reve_de_toi-117bpm_sqaure_FINAL.jpg
download: download:
link: 'https://shop.basspistol.com/album/satoshi-mon-ami' link: 'https://shop.basspistol.com/album/satoshi-mon-ami'
album: album: satoshi-mon-ami
check_this_if_cannot_be_bought: false check_this_if_cannot_be_bought: false
stores: stores:
- name: Bandcamp - name: Bandcamp

View file

@ -2,7 +2,7 @@
title: Darkweb title: Darkweb
date: 2019-02-09 00:00:00 +0100 date: 2019-02-09 00:00:00 +0100
artist: 徒 Setto セット artist: 徒 Setto セット
category: highlights category: releases
author: bassBot author: bassBot
tags: tags:
- internal - internal
@ -16,7 +16,7 @@ uid: darkweb2019
image: /assets/img/coverartDarkweb_setto.jpg image: /assets/img/coverartDarkweb_setto.jpg
download: download:
link: 'https://setto.basspistol.com/darkweb' link: 'https://setto.basspistol.com/darkweb'
album: album: darkweb
check_this_if_cannot_be_bought: false check_this_if_cannot_be_bought: false
stores: stores:
- name: Bandcamp - name: Bandcamp

View file

@ -47,8 +47,9 @@ layout: default
<h2>Latest News</h2> <h2>Latest News</h2>
</div> </div>
</section> </section>
{% for post in site.posts limit: 3 %} {% for post in site.categories.highlights limit: 3 %}
{% if post.category == 'highlights' %}
<section class="front-section"> <section class="front-section">
<div style="background-image:url({{ post.image }})"> <div style="background-image:url({{ post.image }})">
@ -63,14 +64,14 @@ layout: default
</div> </div>
<div> <div>
<p><a class="button" href="{{ relBase }}{{ post.url }}">📰 Read Highlight</a></p> <p><a class="button" href="{{ relBase }}{{ post.url }}"> Read Highlight</a></p>
</div> </div>
</div> </div>
</div> </div>
</section> </section>
{% endif %}
{% endfor %} {% endfor %}
<section class="releases"> <section class="releases">