Files
persimmonquilts.com/persimmon/content/post/shortcodes.md
2023-05-14 16:02:52 -05:00

1002 B

title, description, date, publishDate
title description date publishDate
Shortcodes Exaplanation on the shortcodes with personal-web 2019-04-29T16:18:12+01:00 2019-04-29T19:12:12+01:00

Introduction of the shortcodes defined in the personal-web theme.

Add a figure

{{</* figure src="/post/images/sample_image.jpg" 
caption="Photo by Tim Mossholder on Unsplash" */>}}

results in

{{< figure src="/post/images/sample_image.jpg" caption="Photo by Tim Mossholder on Unsplash" >}}

Note: files are kept in a images folder, directly in the post/portfolio folder.

Add a single Tweet

{{</* tweet-single 1120412132036706305 */>}}

results in {{< tweet-single 1120412132036706305 >}}

This shortcode is useful in case of multiple tweets in a thread. If you want to show a single tweet, use this shortcode, with the ID of the Tweet. The ID is the end of the tweet link.

For example:
https://twitter.com/BarackObama/status/1120412132036706305