diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-08-20 22:39:54 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-08-20 22:39:54 +0300 |
| commit | a7a43fa5e99ebda7905604306ec2cf0b03c425f7 (patch) | |
| tree | b64934abbfe55d8a177fbda0987329d0b395d6f5 /_includes/music-projects-list.html | |
| parent | 5dade15bc9063352cd711bec0b7220924d2fd13d (diff) | |
| download | aaoth.xyz-a7a43fa5e99ebda7905604306ec2cf0b03c425f7.tar.gz aaoth.xyz-a7a43fa5e99ebda7905604306ec2cf0b03c425f7.zip | |
make music project list page look like art menu
also snippet that makes art menu is now separated as mixin (very
powerful thing, btw).
Diffstat (limited to '_includes/music-projects-list.html')
| -rw-r--r-- | _includes/music-projects-list.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/_includes/music-projects-list.html b/_includes/music-projects-list.html new file mode 100644 index 0000000..d9a8595 --- /dev/null +++ b/_includes/music-projects-list.html @@ -0,0 +1,20 @@ +<ul class="music-project-list"> +{% for project in projects %} + <li class="music-project-list-item"> + <a class="music-project-list-item-mask" + href="{{ project.url }}"> + <span class="music-project-list-item-text"> + {{ project.title }} + </span> + <strong>{{ project.description }}</strong> + {%- if project.roles -%} + <em>({{ project.roles | split: " " | join: ", "}})</em> + {%- endif -%} + </a> + <div class="music-project-list-item-img"> + <img src="/art/logos/thumbs/{{ project.logo }}_thumb.png" + alt="{{ project.title }} logo"> + </div> + </li> +{% endfor %} +</ul> |
