axllent/silverstripe-favicons
Composer 安装命令:
composer require axllent/silverstripe-favicons
包简介
Simplistic templating for adding favicons for multiple devices
关键字:
README 文档
README
An extension to allow an easy templating system to add favicons for multiple devices.
Requirements
Generate your favicons using favicon-generator. This will provide you with a zip file of all the different files required.
You can use other online sources, however due to the different file naming of the different sites, you may have to create your own template with the appropriate code.
Usage
Copy the generated icons to a path in your project's public folder (eg: favicons/). Then in the <head> of your Page.ss, add the following code:
$Favicons("favicons/")
The favicon template code is cached, so if you change your favicon path then you must do a ?flush.
Requirements
- SilverStripe ^4 || ^5
Installation
composer require axllent/silverstripe-favicons
统计信息
- 总下载量: 8.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-29