Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
common
t3olayout
Commits
b4cefdb5
Commit
b4cefdb5
authored
Dec 21, 2020
by
Thomas Löffler
Browse files
Add preload tags for fonts
parent
16ab7742
Changes
1
Hide whitespace changes
Inline
Side-by-side
Configuration/TypoScript/Includes/IncludeAssets.typoscript
View file @
b4cefdb5
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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment