backdrop-contrib / metatag

Add structured metadata, aka "meta tags", for various pages on your site.
GNU General Public License v2.0
3 stars 15 forks source link

[node:field_image] as default even not in use #51

Closed robertgarrigos closed 1 year ago

robertgarrigos commented 4 years ago

The token [node:field_image] is being used in the opengraph submodule settings, even if that field is not being in use in the node. This causes the settings form to fail every time you update it, as reported originaly here: https://github.com/backdrop-contrib/metatag/issues/48

image-field

jenlampton commented 3 years ago

I propose to not provide that default

Since this field is provided by default in core, I think this should be included by default in metatag also, it will save everyone the headache of trying to figure out how to get an image to appear when sharing to social media. A better approach would be to check if the field exists before setting the default, and if not, exclude it.

robertgarrigos commented 3 years ago

I close this.

quicksketch commented 1 year ago

Fixed in https://github.com/backdrop-contrib/metatag/pull/100.