So I'm setting my meta author tag this way:
<meta name="author" content="{% if seoAuthor is defined %}{{seoAuthor}}{% else %}{{globalSeo.seoAuthor}}{% endif %}">
seoAuthor is a field that only appears in some entrie's layout (blog posts). At first the field was on every entry, but I changed it later.
The problem is that the data on the entries that no longer have that field in their layout is still displaying.
So is it possible to only show fields that are currently in the layout of the entry ?