Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Adding custom content to the <head> section of any node would be interesting to enhance SEO, for instance injecting a JSON-LD script to add schema.org data.
For the time being, the Add To Head module works fine but it remains in dev for quite a while and bugs on a multilingual site.
Comments
Comment #2
Anonymous (not verified) commentedHey Damien!
Adding custom content to the
<head>section of any node would be interesting to enhance SEO, for instance injecting a JSON-LD script to add schema.org data.For the time being, the Add To Head module works fine but it remains in dev for quite a while and bugs on a multilingual site.
Thanks,
Gilles
Comment #3
damienmckennaComment #4
damienmckennaDone: https://www.drupal.org/project/metatag/releases/8.x-1.4