Skip to content

bugsysop/hugo-funkwhale-shortcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Hugo Funkwhale Shortcode

A shortcode for Hugo static site generator to include audio hosted on a Funkwhale instance. Funkwhale is a community-driven project that lets you listen and share music and audio within a decentralized, open and federated network.

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.

References

About

A shortcode for Hugo static site generator to include audio hosted on a Funkwhale instance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages