zeroseven/font-loader
最新稳定版本:v1.0.0
Composer 安装命令:
composer require zeroseven/font-loader
包简介
With this extension external fonts can be loaded directly into your TYPO3 ecosystem and will be delivered from your local webserver
README 文档
README
With this extension external fonts can be loaded directly into your TYPO3 ecosystem and will be delivered from your local webserver. This often optimizes load time and meets requirements from the GDPR (or German DSGVO).
Installation
Get this extension via composer req zeroseven/font-loader.
Configuration
All you have to do is install the extension. Everything else happens automatically.
What's happening?
External CSS font files from Google Fonts and Fontawesome are being recognized and loaded if they are being included via TYPO3's own CSS includes. For example like so:
page.includeCSS.font = https://fonts.googleapis.com/css?family=Roboto:300,400,500,700
The fonts inside the CSS are being analyzed, downloaded onto your local webserver and linked.
Example:
| HTML | CSS | |
|---|---|---|
| Before | <!DOCTYPE html> |
@font-face { |
| After | <!DOCTYPE html> |
@font-face { |
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-only
- 更新时间: 2022-10-27