<head>
section of the rendered page.head-tags
package to your project:frontity.settings.js
file:> npm install @frontity/[email protected]
.state.frontity.url
: The URL of your site. Usually defined in the frontity.settings.js
file.state.source.url
or state.source.api
: The API where your project is pointing. Defined at @frontity/wp-source if you haven't changed your Source.@frontity/wp-source
installed and updated to at least the 1.5.0
version.<head>
section of the rendered page. So there are no additional steps to do. Just install the package and everything will work out of the box.headTags.get
method.headTags.get
link
as parameter and it returns an array with the head_tags
field of that link.