{% if page.collection == 'tracks' %} Play {{ page.common.title }} by {{ page.common.artist }} | {{ site.title }} {% elsif page.collection == 'posts' %} {% if page.category == 'releases' %} {% for album in site.albums %} {% if album.slug == page.album %} {% capture namelist %}{% for art in album.artists %}{{ art }}{% unless forloop.last %}, {% endunless %}{% endfor %}{% endcapture %} {% capture artist %}{{ namelist }}{% endcapture %} Play "{{ album.name }}" by {{ artist | uniq }} | {{ site.title }} {% for track in album.tracks %}{% endfor %} {% endif %}{% endfor %}{% else %} {{ page.title }} | {{ site.title }} {% endif %} {% endif %}