-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace homepage player by featured releases section
- Loading branch information
1 parent
c5df327
commit f463cfb
Showing
5 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<article id="{{ .release.id }}"> | ||
<a href="https://stream.resonate.coop/artist/{{ .release.creator_id }}/release/{{ .release.slug }}" title="{{ .release.display_artist }} – {{ .release.title }}" class="db link"> | ||
<figure class="ma0"> | ||
<picture> | ||
<img src="{{ .release.cover }}" class="w-100 h-auto" width="160" height="160" alt="{{ .release.title }} cover" loading="lazy"> | ||
</picture> | ||
<figcaption class=""> | ||
<h3 class="f4 normal truncate mv1">{{ .release.title }}</h3> | ||
<p class="truncate f5 mt0 mb1 dark-gray">{{ .release.display_artist }}</p> | ||
<dl class="ma0"> | ||
<dt class="sr-only">Tags</dt> | ||
<dd class="ma0"> | ||
<ul class="list ma0 pa0 flex flex-wrap"> | ||
{{ range .release.tags }} | ||
<li class="mr1 f6 f5-ns">#{{ . }}</li> | ||
{{ end }} | ||
</ul> | ||
</dd> | ||
</dl> | ||
</figcaption> | ||
</figure> | ||
</a> | ||
</article> |