feat: add concerts to all feed
This commit is contained in:
parent
757b3273bb
commit
ded6093fd6
5 changed files with 17 additions and 6 deletions
|
@ -62,7 +62,7 @@ const processConcerts = (concerts) => {
|
|||
mbid: concert['artist_mbid'],
|
||||
country: parseCountryField(concert['artist_country'])
|
||||
} : null,
|
||||
url: `/concerts/${concert['id']}`,
|
||||
url: `/music/concerts?id=${concert['id']}`,
|
||||
artistUrl: concert['artist'] ? `/music/artists/${sanitizeMediaString(concert['artist_name'])}-${sanitizeMediaString(parseCountryField(concert['artist_country']))}` : null
|
||||
})).sort((a, b) => new Date(b['date']) - new Date(a['date']))
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ schema: artist
|
|||
{%- endif -%}
|
||||
{%- if artist.concerts -%}
|
||||
<hr />
|
||||
<p class="concerts flex-centered">
|
||||
<p id="concerts" class="concerts flex-centered">
|
||||
{% tablericon "device-speaker" "concert" %}
|
||||
I've seen this artist live!
|
||||
</p>
|
||||
|
|
Reference in a new issue