HiddenSounds/_layouts/artist.html
NorbiPeti 4024ebe455
Artist, stream pages, menu, index song listing
- Fixed song listing on artist pages
- Fixed artist page generation
- Sorted artist listing
- Added menu and moved displayed titles to the template
- Linking songs from artist pages
- Added a page for streams and collected the data for it manually
- Implemented Popular and Hidden Songs on the index page
- Bunch of fixes of URLs and such
2019-06-13 01:15:37 +02:00

21 lines
No EOL
632 B
HTML

---
layout: default
title: page.name
ptitle: '{{ page.sname }}'
---
<h2>{{ page.position }}</h2>
<h2>Songs</h2>
<ul>
{% assign filtered_songs = site.data.songs %}
{% for song in filtered_songs %}
{% assign found = false %}
{% for artist in song.artists %}
{% if artist == page.sname %}
{% assign found = true %}
{% endif %}
{% endfor %}
{% if found == false %} {% continue %} {% endif %}
<li><a href="{{ site.baseurl }}/songs{{ song.sname | datapage_url: songs }}">{{ song.artists | join: ", " }} - {{ song.sname }}</a></li>
{% endfor %}
</ul>