Custom handler breaks head tags

i have custom handlers:

export const homeHandler = {
   name: 'home-handlers',
   priority: 10,
   pattern: '/homepage',
   func: async ({ route, state, libraries }) => {
      const homeResponse = await libraries.source.api.get({
         endpoint: 'pages',
         params: { slug: '/homepage', _embed: true, head_tags: true },

      await libraries.source.populate({
         response: homeResponse,



   libraries: {
      source: {
         handlers: [homeHandler],
      html2react: {
         processors: [image],

if i remove this handler meta tags on page appear.

The problem is that if I do not remove the handler, it does not show meta tags

Hi @prainua

Can you please provide the info suggested here?

The more info you provide about your issue the better. Providing a repo or code-sandbox with your code is especially helpful to find solutions of technical issues with specific code

In this specific case I’d like to understand better:

  • Are you using @frontity/head-tags ?
  • Can you access meta-data in any other page?
  • Do you have a homepage page created in WP?