hugo-PaperMod/content/posts/rich-content.md
Aditya Telange 5ef10eb6f2
Rename 'Twitter' shortcode to 'X' and update usage in rich-content.md
WARN  The "twitter", "tweet", and "twitter_simple" shortcodes were deprecated in v0.142.0 and will be removed in a future release. Please use the "x" shortcode instead.
2025-04-20 11:52:57 +05:30

1.2 KiB

author, title, date, description, tags, ShowToc
author title date description tags ShowToc
Hugo Authors
PaperMod Contributors
Rich Content and Shortcodes 2019-03-10 A brief description of Hugo Shortcodes
markdown
shortcodes
privacy
true

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.


Figure Shortcode (PaperMod enhanced)

{{< figure src="https://source.unsplash.com/Z0lL0okYjy0" attr="Photo by Aditya Telange on Unsplash" align=center link="https://unsplash.com/photos/Z0lL0okYjy0" target="_blank" >}}


YouTube

{{< youtube hjD9jTi_DQ4 >}}


X (Twitter) Shortcode

{{< x user="adityatelange" id="1724414854348357922" >}}


Vimeo Shortcode

{{< vimeo 152985022 >}}