The featured-Image shortcode displays an image you set in the image Front-Matter. Note that when the image front-matter is set, the image appears in a post summary list.

How to use
You can use the {{< featuredImage >}} shortcode anywhere in your post. The image path is relative to the static folder. So, in the below case, the image is in the root/static/images/mountain.jpg.
| |
You can also set optional params like this. {{< featuredImage alt="featured image" width=50 height=50 >}}
| |