Commit b4cefdb5 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Add preload tags for fonts

parent 16ab7742
page {
headerData {
1000 = TEXT
1000.value (
<link rel="preload" href="/typo3conf/ext/t3olayout/Resources/Public/Fonts/FontAwesome/fa-solid-900.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/typo3conf/ext/t3olayout/Resources/Public/Fonts/FontAwesome/fa-brands-400.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/typo3conf/ext/t3olayout/Resources/Public/Fonts/Share/share-v8-latin-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/typo3conf/ext/t3olayout/Resources/Public/Fonts/Share/share-v8-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/typo3conf/ext/t3olayout/Resources/Public/Fonts/Slick/slick.woff" as="font" type="font/woff" crossorigin>
<link rel="preload" href="/typo3conf/ext/t3olayout/Resources/Public/Fonts/SourceSansPro/SourceSansPro-Bold.otf.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/typo3conf/ext/t3olayout/Resources/Public/Fonts/SourceSansPro/SourceSansPro-Light.otf.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/typo3conf/ext/t3olayout/Resources/Public/Fonts/SourceSansPro/SourceSansPro-Regular.otf.woff2" as="font" type="font/woff2" crossorigin>
)
}
includeCSSLibs {
t3olayout = EXT:t3olayout/Resources/Public/Css/main.min.css
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment