Figure
An image with caption and link
Last updated
An image with caption and link
Last updated
{%
include figure.html
image="images/group-photo.jpg"
caption="The team at our annual Christmas party, 2025"
link="team"
width="400px"
%}
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.
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