720 B
720 B
title | resources | |||||||
---|---|---|---|---|---|---|---|---|
Avatar |
|
The avatar shortcode is another custom image shortcode.
Usage
Define a resource in the page front matter.
---
resources:
- name: avatar
src: "images/avatar.jpg"
title: "Avatar"
---
{{</* avatar name="avatar" */>}}
Attributes
{{< propertylist name=shortcode-avatar sort=name order=asc >}}
Example
{{< avatar name=avatar size="small" >}}