Hello everyone,
In my files.yml, i’m trying to add a placeholder that returns album’s name. I tried many things but I don’t get it.
Here is my code actualy
title: Files
accept:
extension: jpeg, png, mp4
maxsize: 100000000
columns:
- width: 1/2
sections:
content:
type: fields
fields:
headline:
label:
fr: Titre de l'image
en: Title of the image
type: text
placeholder: "{{ album.title}}"
help:
fr: Laisser ce champ vide pour utiliser le même titre que l'album.
en: Leave empty to use the same title as the album
- width: 1/2
sections:
meta:
type: fields
fields:
alt:
label: Alternative Text
type: text
credit:
label: Credits
type: text
width: 2/3
link:
label: Link
type: url
I guess I just don’t use {{ album.title }} in the good way but I don’t find anything about it in the forum.
Anyone have advices?