| Line | |
|---|
| 1 | <a class="bubble" href="{{ .ctx.Permalink }}"> |
|---|
| 2 | <i class="fas fa-fw {{or .ctx.Params.icon "fa-music" }}"></i> |
|---|
| 3 | </a> |
|---|
| 4 | |
|---|
| 5 | <article class="audio"> |
|---|
| 6 | {{ partial "featured-image.html" .ctx }} |
|---|
| 7 | |
|---|
| 8 | {{ with .ctx.Params.spotify }} |
|---|
| 9 | {{ partial "audio-embed" (dict "type" "spotify" "id" .) }} |
|---|
| 10 | {{ end }} |
|---|
| 11 | |
|---|
| 12 | {{ with .ctx.Params.soundcloud }} |
|---|
| 13 | {{ partial "audio-embed" (dict "type" "soundcloud" "id" .) }} |
|---|
| 14 | {{ end }} |
|---|
| 15 | |
|---|
| 16 | {{ with .ctx.Params.tunein }} |
|---|
| 17 | {{ partial "audio-embed" (dict "type" "tunein" "id" .) }} |
|---|
| 18 | {{ end }} |
|---|
| 19 | |
|---|
| 20 | {{ with .ctx.Params.mixcloud }} |
|---|
| 21 | {{ partial "audio-embed" (dict "type" "mixcloud" "id" .) }} |
|---|
| 22 | {{ end }} |
|---|
| 23 | |
|---|
| 24 | {{ with .ctx.Params.audiofile }} |
|---|
| 25 | {{ partial "audio-embed" (dict "type" "audiofile" "url" .) }} |
|---|
| 26 | {{ end }} |
|---|
| 27 | |
|---|
| 28 | {{ partial "default-content.html" (dict "ctx" .ctx "template_type" .template_type) }} |
|---|
| 29 | {{ partial "article-footer.html" .ctx }} |
|---|
| 30 | </article> |
|---|
Note: See
TracBrowser for help on using the repository browser.