1
0
mirror of https://github.com/a2nt/silverstripe-font-awesome.git synced 2024-10-22 17:05:51 +02:00

Update readme.md

This commit is contained in:
Tony Air 2018-06-24 17:01:13 +07:00 committed by GitHub
parent bb167028f7
commit 4635537a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ class Blabla extends ... {
Then simple include in the template where you want the icon placed
```html
<i class="fa $Icon"></i>
<i class="$Icon"></i>
```
The controller extension should make sure you've got access to the icons so you don't need to double up the CSS file.