Rich Content
·1 min

Table of Contents
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 #
Below is an example using the built-in youtube
shortcode. It requires only the video ID.
X (formerly Twitter) #
This example uses the x
shortcode to output a Tweet. It requires two named parameters user
and id
.
“In addition to being more logical, asymmetry has the advantage that its complete appearance is far more optically effective than symmetry.”
— Design Reviewed | Graphic Design History (@DesignReviewed) January 17, 2019
— Jan Tschichold pic.twitter.com/gcv7SrhvJb
Instagram #
The instagram
shortcode will embed an Instagram post. It requires only the post ID.
Vimeo #
The vimeo
shortcode will embed a Vimeo video. It requires only the video ID.