/hugo-shortcodes-soundcloud

Hugo shortcodes to embed SoundCloud

Primary LanguageHTML

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

Soundcloud user

Playlist widget

Copy soundcloud-playlist.html into your layouts/shortcodes/ directory.

Usage

{{< soundcloud-playlist PlaylistID >}}

Example

Soundcloud playlist

Track widget

Copy soundcloud-track.html into your layouts/shortcodes/ directory.

Usage

{{< soundcloud-track TrackID >}}

Example

Soundcloud track

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.