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

Indicate when a default value is used for empty fields #19

Closed ghost closed 5 years ago

ghost commented 6 years ago

When adding default metatags (admin/config/metadata/metatags) for specific content types, they inherit the Content metatags, which in turn inherit the Global metatags.

It's therefore hard to know what happens if I leave a field blank - does it not appear at all, or does it get inherited? If so, from where?

I suggest doing something like the following: screenshot_2018-07-06 content portfolio item packweb

Fields that inherit values from higher up the chain, and that aren't being overwritten with values in this form, should display placeholder text showing what the inherited value is and where it's coming from.

ghost commented 6 years ago

PR added. I couldn't work out how to displayed where the inherited value came from, so left that out for now.

EDIT: Here's a screencast showing what the PR does:

peek 2018-08-10 22-36

jenlampton commented 5 years ago

I love this, thank you!