mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-23 10:31:45 -04:00
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.
1.2 KiB
1.2 KiB
author, title, date, description, tags, ShowToc
author | title | date | description | tags | ShowToc | |||||
---|---|---|---|---|---|---|---|---|---|---|
|
Rich Content and Shortcodes | 2019-03-10 | A brief description of Hugo Shortcodes |
|
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 >}}