refactor: move profile size from img to degicated avatar shortcode (#817)

BREAKING CHANGE: The `size=profile` option was removed from the `img` shortcode. To create avatar images the new `avatar` shortcode can be used.
This commit is contained in:
Robert Kaussow 2024-04-07 21:54:12 +02:00 committed by GitHub
parent 7b52c98f17
commit 6eb576575e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 134 additions and 25 deletions

View file

@ -2,7 +2,7 @@
properties:
- name: name
type: string
description: Mame of the image resource defined in page front matter.
description: Name of the image resource defined in page front matter.
required: true
- name: alt
type: string
@ -10,7 +10,7 @@ properties:
required: false
- name: size
type: string
description: Thumbnail size. Supported values are `origin|profile|tiny|small|medium|large`.
description: Thumbnail size. Supported values are `origin|tiny|small|medium|large`.
required: false
- name: lazy
type: bool