diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-08-23 20:03:19 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-08-23 20:03:19 +0300 |
| commit | ea060499471c26155d4b7a16a4c670dc74503f4d (patch) | |
| tree | 8e95440f74ef98bc7c966016c6501d6f83c33ba7 | |
| parent | 6151460d2e35c73b5a2cb043c412ade4de073436 (diff) | |
| download | aaoth.xyz-ea060499471c26155d4b7a16a4c670dc74503f4d.tar.gz aaoth.xyz-ea060499471c26155d4b7a16a4c670dc74503f4d.zip | |
make use of include.variable to make project list
| -rw-r--r-- | _includes/music-projects-list.html | 2 | ||||
| -rw-r--r-- | music.md | 14 |
2 files changed, 5 insertions, 11 deletions
diff --git a/_includes/music-projects-list.html b/_includes/music-projects-list.html index d9a8595..2e713fe 100644 --- a/_includes/music-projects-list.html +++ b/_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 }}"> @@ -9,24 +9,18 @@ permalink: /music/ 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> |
