Hugo Funkwhale Shortcode

A shortcode to include audio hosted on a Funkwhale instances.

Funkwhale is a community-driven project that lets you listen and share music and audio within a decentralized, open and federated network.

At this point this shortcode is early beta and was only tested localy with Hugo 0.76.0, last Firefox and Chrome on MacOS, and with music from an official instance of Funkwhale (open.audio).

Usage

Insert the Shortcode in your Markdown content…

Simplified syntax

{{< funkwhale open.audio 84899 >}}

Only tracks (no album), and only default config.

Complete syntax

{{< funkwhale host="open.audio" id="84899" type="track" >}}

You can specify type (track or album) and height (numeral value: default 138). With no type it fallback to track value.

Syntax for album

{{< funkwhale host="open.audio" id="8493" type="album"  height="330 >}}

Note: you must adjust the height, there is no default value suitable for albums.

Privacy

Funckwhale by itself use absolutely no cookies, no trackers.

4 Likes