How Interesting...
July 13, 2016

Rich Content

Posted on July 13, 2016  •  1 minutes  • 81 words
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. Here’s a couple of examples to get you started.


YouTube Privacy Enhanced Shortcode

Shortcode:

{{< youtube ZJthWmvUzzc >}}

Result:


Shortcode:

{{< tweet user=“KawaaiMayumi” id=“1557658979018440705” >}}

Result:


Vimeo Simple Shortcode

Shortcode:

{{< vimeo_simple 48912912 >}}

Result:

Socials / Links

I tweet tech, bad jokes and silly memes