Rich Content

Rich Content

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.:

 

Twitter

You want to include a single tweet into your blog post? Everything you need is the URL of the tweet:


Written By

Jeremiah Ware

Like a starvin' man on a Christmas Ham!