You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.7 KiB
40 lines
1.7 KiB
<section itemscope itemtype="https://schema.org/ItemList">
|
|
<h2>albums and singles</h2>
|
|
{% for album in collections.albums | reverse %}
|
|
<ol>
|
|
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/MusicAlbum">
|
|
<h3 itemprop="name">{{ album.data.title }}</h3>
|
|
<p itemprop="description">{{ album.data.description }}</p>
|
|
{% image album.data.cover.url, album.data.cover.alt, "(min-width: 30em) 50vw, 100vw" %}
|
|
<p>Released: <time itemprop="datePublished" datetime="{{album.data.release_date.date}}">{{album.data.release_date.readable}}</time></p>
|
|
<p>Genre: <span itemprop="genre">{{album.data.genre}}</span></p>
|
|
<h4>Tracklist:</h4>
|
|
<ol>
|
|
{% for track in album.data.tracklist %}
|
|
<li itemprop="track" itemscope itemtype="https://schema.org/MusicRecording">
|
|
<h5 itemprop="name">{{track.title}}</h5>
|
|
<audio itemprop="audio" controls src="{{track.audio}}"></audio>
|
|
</li>
|
|
{% endfor %}
|
|
</ol>
|
|
|
|
{% if album.data.featured.length > 0 %}
|
|
<h4>Featured Artists</h4>
|
|
<ul>
|
|
{% for person in album.data.featured %}
|
|
<li itemprop="contributor" itemscope itemtype="https://schema.org/Person">
|
|
<span itemprop="name">{{person.name}}</span>
|
|
<span>{{person.stuff}}</span>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
<div itemprop="offers" itemscope itemtype="https://schema.org/Offer">
|
|
<a itemprop="url" href="{{album.data.download_path}}">Download Album (FLAC)</a>
|
|
</div>
|
|
</li>
|
|
</ol>
|
|
{% endfor %}
|
|
</section>
|