Update info.yaml format info
parent
ce7686b7fc
commit
e791c3b7e0
1 changed files with 3 additions and 0 deletions
|
@ -117,6 +117,7 @@ in its fullest form, a single image is a pair of a label and an object containin
|
|||
download: qtpats.svg
|
||||
nsfw: false
|
||||
warning: null
|
||||
resize: true
|
||||
```
|
||||
|
||||
all the subfields except `path` are optional, and when they are all left out, then the value of the pair can be just the bare path:
|
||||
|
@ -125,6 +126,8 @@ all the subfields except `path` are optional, and when they are all left out, th
|
|||
- transparent: taurex-t.png
|
||||
```
|
||||
|
||||
if the `resize` field is false, then don't resize that image for the `_med` and `_big` variants. (because imagemagick cannot deal with animated webp.)
|
||||
|
||||
the label is *also* optional. if it's left out then it's taken from the path, with the extension removed and all _ and - replaced with spaces:
|
||||
|
||||
```yaml
|
||||
|
|
Loading…
Reference in a new issue