For example, in a blog collection, we often reference {{ feature_image }}.
We currently have a global fallback image, or a specific image set on each entry, but it would be helpful to define a default field for the entire collection.
Can currently achieve with something like this in tjhe layout:
{{ if collection == "blog" }}
{{ unless alt_seo_social_image }}
{{ alt_seo_social_image = feature_image }}
{{ /unless }}
{{ /if }}
But would be good to be able to configure from admin.
For example, in a blog collection, we often reference {{ feature_image }}.
We currently have a global fallback image, or a specific image set on each entry, but it would be helpful to define a default field for the entire collection.
Can currently achieve with something like this in tjhe layout:
But would be good to be able to configure from admin.