Skip to content

Latest commit

 

History

History
57 lines (33 loc) · 1.17 KB

README.md

File metadata and controls

57 lines (33 loc) · 1.17 KB

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.