hugo-geekblog/exampleSite/data/properties/shortcode-images.yaml
Robert Kaussow 2f01b4b903
refactor: move profile size from img to degicated avatar shortcode (#525)
BREAKING CHANGE: The `size=profile` option was removed from the `img` shortcode. To create avatar images the new `avatar` shortcode can be used.
2024-04-07 21:46:31 +02:00

20 lines
514 B
YAML

---
properties:
- name: name
type: string
description: Name of the image resource defined in page front matter.
required: true
- name: alt
type: string
description: Description text for the image.
required: false
- name: size
type: string
description: Thumbnail size. Supported values are `origin|tiny|small|medium|large`.
required: false
- name: lazy
type: bool
description: Enable/disable lazy loading for the image.
required: false
defaultValue: true