Figure

An image with caption and link

👁️ PREVIEW

{%
  include figure.html
  image="images/group-photo.jpg"
  caption="The team at our annual Christmas party, 2025"
  link="team"
  width="400px"
%}
ParameterDescription

image

URL to image for the figure.

caption

Caption content. Can contain Markdown.

link

URL to navigate to when clicking on the image.

width / height

Dimensions of the image in px or %. You should only specify either width OR height, to maintain the original aspect ratio of the image. Image will shrink to fit smaller screen sizes.

images/fallback.svg is an image that will be shown in place of images (in any component) that fail to load. This is useful because you may often be linking to external image URLs that can become broken without notice.

Example of using with the section component to make a full width banner:

{% include section.html size="full" %}

{% include figure.html image="images/banner.jpg" width="100%" %}

{% include section.html %}

Continued content

Last updated

#22: v1.2.0

Change request updated