These posts contain affiliate links. I’ll possibly receive a commission when items are purchased through these links.
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.
YouTube Privacy Enhanced Shortcode
The youtube shortcode embeds a responsive video player for YouTube videos. Only the ID of the video is required, e.g.:
You want to include a single tweet into your blog post? Everything you need is the URL of the tweet:
Hugo 0.24 Released: Big archetype update + @Netlify _redirects etc. file supporthttps://t.co/X94FmYDEZJ #gohugo #golang @spf13 @bepsays
— GoHugo.io (@GoHugoIO) June 21, 2017