Page.headerData ViewHelper <f:page.headerData>

ViewHelper to add various content in the head section of the current page using PageRenderer.

   <f:page.headerData>
      <link rel="preload" href="/fonts/myfont.woff2" as="font" type="font/woff2" crossorigin="anonymous">
      <link rel="dns-prefetch" href="//example-cdn.com">
      <link rel="preconnect" href="https://example-cdn.com">
   </f:page.headerData>
Copied!

Go to the source code of this ViewHelper: Page\HeaderDataViewHelper.php (GitHub).