all repos — aaoth.xyz @ ea060499471c26155d4b7a16a4c670dc74503f4d

aaoth.xyz website

make use of include.variable to make project list
la-ninpre leobrekalini@gmail.com
Mon, 23 Aug 2021 20:03:19 +0300
commit

ea060499471c26155d4b7a16a4c670dc74503f4d

parent

6151460d2e35c73b5a2cb043c412ade4de073436

2 files changed, 5 insertions(+), 11 deletions(-)

jump to
M _includes/music-projects-list.html_includes/music-projects-list.html

@@ -1,5 +1,5 @@

<ul class="music-project-list"> -{% for project in projects %} +{% for project in include.projects %} <li class="music-project-list-item"> <a class="music-project-list-item-mask" href="{{ project.url }}">
M music.mdmusic.md

@@ -9,24 +9,18 @@ **hälsorisk** (swedish for '*health hazard*') is small web-label focused on dark

underground music. here's a list of projects in which i took part: -{% comment %} - haelsorisk projects -{% endcomment %} -{% assign projects = site.music_projects | where: "other", nil %} +{% assign haelsorisk_projects = site.music_projects | where: "other", nil %} <div class="haelsorisk-projects-list"> -{% include music-projects-list.html %} +{% include music-projects-list.html projects=haelsorisk_projects%} </div> [1]:/haelsorisk # other projects -{% comment %} - other projects -{% endcomment %} -{% assign projects = site.music_projects | where: "other", true %} +{% assign other_projects = site.music_projects | where: "other", true %} <div class="other-projects-list"> -{% include music-projects-list.html %} +{% include music-projects-list.html projects=other_projects %} </div>