1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-07 19:51:52 +00:00

Put Bandcamp link first in the list

This commit is contained in:
Tixie 2023-02-21 21:52:40 +01:00
parent 4e9e51e48d
commit d0b6653ce2

View file

@ -65,6 +65,11 @@
</div>
{{ else }}
<div class="album-links__list">
{{ if .Params.links.bandcamp }}
<a class="album-links__item tooltip tooltip--bottom" aria-label="Bandcamp" data-tooltip="Bandcamp" href="{{ .Params.links.bandcamp }}" target="_blank" rel="noreferrer">
{{ partial "social/bandcamp" .}}
</a>
{{ end }}
{{ if .Params.links.spotify }}
<a class="album-links__item tooltip tooltip--bottom" aria-label="Spotify" data-tooltip="Spotify" href="{{ .Params.links.spotify }}" target="_blank" rel="noreferrer">
{{ partial "social/spotify" .}}
@ -85,11 +90,6 @@
{{ partial "social/soundcloud" .}}
</a>
{{ end }}
{{ if .Params.links.bandcamp }}
<a class="album-links__item tooltip tooltip--bottom" aria-label="Bandcamp" data-tooltip="Bandcamp" href="{{ .Params.links.bandcamp }}" target="_blank" rel="noreferrer">
{{ partial "social/bandcamp" .}}
</a>
{{ end }}
{{ if .Params.links.deezer }}
<a class="album-links__item tooltip tooltip--bottom" aria-label="Deezer" data-tooltip="Deezer" href="{{ .Params.links.deezer }}" target="_blank" rel="noreferrer">
{{ partial "social/deezer" .}}