hugo-shortcodes-soundcloud
hugo-shortcodes-soundcloud copied to clipboard
Hugo shortcodes to embed SoundCloud
hugo-shortcodes-soundcloud
Hugo shortcodes to embed SoundCloud on your site.
Shortcodes
User widget
Copy soundcloud-user.html into your layouts/shortcodes/
directory.
Usage
{{< soundcloud-user UserID >}}
Example
Playlist widget
Copy soundcloud-playlist.html into your layouts/shortcodes/
directory.
Usage
{{< soundcloud-playlist PlaylistID >}}
Example
Track widget
Copy soundcloud-track.html into your layouts/shortcodes/
directory.
Usage
{{< soundcloud-track TrackID >}}
Example
Notes
You can confirm UserID
, PlaylistID
or TrackID
from the following URL (Paste your SoundCloud URL).
https://w.soundcloud.com/player/?url=<PASTE YOUR SOUNDCLOUD URL HERE>
Or you can use SoundCloud HTTP API to get the IDs.