Rich Content
2019/03/10
Hugo Authors
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
Twitter Shortcode
{{- /* FIXME: Currently disabled. This appears to be obsolete syntax. Uncommenting this causes Hugo to raise an exception resembling: ERROR The “twitter” shortcode requires two named parameters: user and id. See “/home/leycec/js/website/content/blog/rich-content.md:25:1”
{ {< twitter id=“1085870671291310081” >} }
*/ -}}