mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-23 13:20:39 +00:00
Robert Kaussow
6eb576575e
BREAKING CHANGE: The `size=profile` option was removed from the `img` shortcode. To create avatar images the new `avatar` shortcode can be used.
19 lines
570 B
YAML
19 lines
570 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: anchor
|
|
type: string
|
|
description: "[Anchor](https://gohugo.io/content-management/image-processing/#anchor) to determine the placement of the crop box."
|
|
required: false
|