Rich Content

img/posts/img-5.jpg

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

The youtube shortcode embeds a responsive video player for YouTube videos. Only the ID of the video is required, e.g.:

YouTube URL:

https://www.youtube.com/watch?v=3qHkcs3kG44

Shortcode:

{{< youtube 3qHkcs3kG44 >}}

Rendered output:

Twitter

You want to include a single tweet into your blog post? Everything you need is the URL of the tweet:

Twitter url:

https://twitter.com/binovarghese_/status/1758148486510317907

Shortcode:

{{< twitter user="binovarghese_" id="1758148486510317907" >}}

Rendered:

Test:

A mí no me sale o qué?

Test2


Escrito por:

Naide

Al oeste de Filadelfia, crecía y vivía, sin hacer mucho caso a la policía.