Rich Content and Shortcodes

Hugo ships with several Built-in Shortcodes for rich content, along with a Privacy Config and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. ...

March 10, 2019 路 1 min 路 Hugo Authors, PaperMod Contributors

Audio and Video

In this post, we鈥檒l explore how to embed audio and video content in your Hugo site using both shortcodes and HTML. This allows you to enhance your content with multimedia elements, making it more engaging for your audience. Embedding Audio To embed audio in your Hugo site, you can use the built-in audio shortcode. Here鈥檚 an example of how to use it: {{/*< audio src="/path/to/your/audiofile.mp3" >*/}} Make sure to replace /path/to/your/audiofile.mp3 with the actual path to your audio file. This shortcode will generate an audio player that allows visitors to play the audio directly on your site. ...

April 11, 2026 路 2 min 路 Theme PaperMod