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. Here’s a couple of examples to get you started.
YouTube Privacy Enhanced Shortcode#
Shortcode:#
{{< youtube ZJthWmvUzzc >}}
Result:#
Shortcode:#
{{< x user=“KawaaiMayumi” id=“1557658979018440705” >}}
Result:#
Stay hydrated#CatsOfTwitter #CatsOnTwitter #Cats #Thursday #Life #Funny pic.twitter.com/1sSbisGyL8
— mayumi kawaai (@KawaaiMayumi) August 11, 2022
Vimeo Simple Shortcode#
Shortcode:#
{{< vimeo_simple 48912912 >}}

