hugo-geekblog/exampleSite/content/posts/avatar-images/index.md

827 B

title date authors tags resources
Avatar Images 2024-04-27T21:00:00+02:00
john-doe
Documentation
Shortcodes
name src title
avatar images/avatar.jpg 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" >}}