-
Shortcodes are predefined chunks of HTML that you can put inside your content.
- e.g, embed a Youtube video
-
Hugo has predefined shortcodes otb
-
shortcodes defined as
{ { < shortcode-name param1 > } }
- for youtube the parameter is the video ID
- e.g.
{ { < youtube 2xkNJL4gJ9E > } }