I want to add link tags to the head so I can preload some font files in my site package.
I have tried using headerData
but how can I get file path to EXT:my_site/Resources
?
I want to add link tags to the head so I can preload some font files in my site package.
I have tried using headerData
but how can I get file path to EXT:my_site/Resources
?
Copyright © 2021 Jogjafile Inc.
For any field in TypoScript that uses the
getText
data type, you can usepath:
for that. For example:See https://docs.typo3.org/m/typo3/reference-typoscript/10.4/en-us/DataTypes/#path for more information.