feat: direct artist + album links
This commit is contained in:
parent
af001512fe
commit
df32b17b43
4 changed files with 8 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
</h2>
|
||||
<div class="grid grid-cols-2 gap-2 md:grid-cols-4 not-prose">
|
||||
{% for album in music.albums %}
|
||||
<a href="https://rateyourmusic.com/search?searchtype=l&searchterm={{album.name | escape}}%20{{ album.artist | escape }}" title="{{album.name | escape}} by {{ album.artist | escape }}">
|
||||
<a href="https://song.link/{{ album.url }}" title="{{album.name | escape}} by {{ album.artist | escape }}">
|
||||
<div class="relative block h-full">
|
||||
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-purple-600 hover:border-purple-500 bg-cover-gradient dark:border-purple-400 dark:hover:border-purple-500"></div>
|
||||
<div class="absolute left-1 bottom-2 drop-shadow-md">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
</h2>
|
||||
<div class="grid grid-cols-2 gap-2 md:grid-cols-4 not-prose">
|
||||
{% for artist in music.artists %}
|
||||
<a href="https://rateyourmusic.com/search?searchterm={{ artist.artist | escape }}" title="{{artist.artist | escape}}">
|
||||
<a href="https://rateyourmusic.com/artist/{{ artist.artist | dashLower }}" title="{{artist.artist | escape}}">
|
||||
<div class="relative block">
|
||||
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-purple-600 hover:border-purple-500 bg-cover-gradient dark:border-purple-400 dark:hover:border-purple-500"></div>
|
||||
<div class="absolute left-1 bottom-2 drop-shadow-md">
|
||||
|
|
Reference in a new issue