HiddenSounds/_layouts/artist.html

16 lines
348 B
HTML
Raw Normal View History

2019-05-23 16:39:14 +00:00
---
layout: default
title: page.name
---
<h1>{{ page.name }}</h1>
<h2>{{ page.position }}</h2>
{{ content }}
<h2>Songs</h2>
<ul>
{% assign filtered_songs = site.data.songs | where: 'artist', page.name %}
{% for song in filtered_songs %}
<li><a href="{{ song.url }}">{{ song.artist }} - {{ song.title }}</a></li>
{% endfor %}
</ul>