See also:
- How are the Open Graph metadata added to the frontend catalog product pages?
- How is the
<head>
HTML section built? - How are the favicons added to the
<head>
HTML section? - How to add a custom content at the end of the HTML
<head>
page section - Magento 2 does not strip the HTML tags while using the current product’s description as the current HTML page’s meta description (if the product does not have a dedicated meta description) (and my fix)
- How is
Magento\Framework\View\Page\Config::setMetadata()
implemented and used? - How to add some HTML
<meta>
tags to a page via alayout.xml
file? - How is
Magento\Framework\View\Page\Config\Reader\Head::setMetadata()
implemented and used?