In the default configuration for metatags, I kept Show empty Metatags? unchecked. I created a dynamic description metatag based on node.teaser. I enabled and inherited metatags for a content type, where body is optional.

When I generate a page for a node (my custom type) where there is no body, I get an empty description metatag(<meta name="description" content="" />).

Comments

fractile81’s picture

Assigned: Unassigned » fractile81

I've finally found time again to work on this module, and am bumping this issue for my own visibility.

fractile81’s picture

Status: Active » Fixed

This is now fixed in HEAD. It's worth noting that when inheriting Metatags, the global "show empty" setting is respected just for those tags. I'm not sure if I'll leave it like that or not, so feedback would be welcome.

Again, sorry this took so long.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.