Skip to main content

Rich Content

·89 words·1 min·
Chris Gillatt
Author
Chris Gillatt
Cloud/Systems Engineer with an addiction to coffee, tech and writing.
Table of Contents
Hugo Configuration - This article is part of a series.
Part 1: This Article

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


Vimeo Simple Shortcode
#

Shortcode:
#

{{< vimeo_simple 48912912 >}}

Result:
#

Sing Jan Swing - Kinetic Type
Hugo Configuration - This article is part of a series.
Part 1: This Article