Avatar
The avatar shortcode is another custom image shortcode.
Define a resource in the page front matter.
---
resources:
- name: avatar
src: "images/avatar.jpg"
title: "Avatar"
---
{{< avatar name="avatar" >}}
-
Description text for the image.Default: none
-
Anchor to determine the placement of the crop box.Default: none
-
Name of the image resource defined in page front matter.Default: none
-
Thumbnail size. Supported values are
origin|tiny|small|medium|large
.Default: none