chore: replace audio shortcut example track

This commit is contained in:
Robert Kaussow 2025-02-27 12:55:41 +01:00
parent c574a8e90f
commit ef129994be
No known key found for this signature in database
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 10 additions and 10 deletions

View File

@ -1,11 +1,11 @@
--- ---
title: Audio title: Audio
resources: resources:
- name: risen - name: diamonds-trap
src: "risen.mp3" src: "diamonds-trap.mp3"
title: Risen title: Diamonds Trap
params: params:
credits: "[Sascha Ende on filmmusic.io](https://filmmusic.io/en/song/12856-risen)" credits: "[Jakob Eglmeier on openmusic.academy CC0-1.0](https://openmusic.academy/media-library/b9do2E2ZwVCfppyBf2yuej)"
--- ---
The audio shortcode allows you to embed audio files. The audio shortcode allows you to embed audio files.
@ -19,14 +19,14 @@ Define your resources in the page front matter, custom parameter `params.credits
```md ```md
--- ---
resources: resources:
- name: risen - name: diamonds-trap
src: "risen.mp3" src: "diamonds-trap.mp3"
title: Risen title: Diamonds Trap
params: params:
credits: "[Sascha Ende on filmmusic.io](https://filmmusic.io/en/song/12856-risen)" credits: "[Jakob Eglmeier on openmusic.academy CC0-1.0](https://openmusic.academy/media-library/b9do2E2ZwVCfppyBf2yuej)"
--- ---
{{</* audio name="risen" */>}} {{</* audio name="diamonds-trap" */>}}
``` ```
### Attributes ### Attributes
@ -43,6 +43,6 @@ resources:
<!-- spellchecker-disable --> <!-- spellchecker-disable -->
{{< audio name="risen" >}} {{< audio name="diamonds-trap" >}}
<!-- spellchecker-enable --> <!-- spellchecker-enable -->