Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

1.2.0: Support custom link templates

Compare
Choose a tag to compare
@punkstar punkstar released this 16 Apr 08:39
· 4 commits to master since this release

You can now edit the template used by the block to render links:

<referenceBlock name="head.csspreload">
    <arguments>
        <argument name="link_template" xsi:type="string"><![CDATA[<link rel="preload" as="style" href=":path:" onload="this.rel='stylesheet'" :attributes: />]]></argument>
    </arguments>
</referenceBlock>