Closed bigfoot90 closed 9 years ago
In my project I'm using three different icon sets fa-* (fontawesome), glyphicons-* (glyphicons), md-* (material-design) for different sections: frontend and backend.
By this commit I can use the icon function like this:
icon
{{ icon('camera') }} {{ icon('alert', 'md') }} {{ icon('user+fw', 'fa') }}
and the parse_icons filter like this:
parse_icons
{{ '.icon-heart'|parse_icons }} {{ '.md-alert'|parse_icons }} {{ '.fa-user+fw'|parse_icons }}
and will render to:
<i class="glyphicon glyphicon-heart"></i> <i class="md md-alert"></i> <i class="fa fa-user fa-fw"></i>
Thank you very much.
@florianeckerstorfer Thanks you for merging. When you plan to set a new tag?
I don't know. Just realised how long it had been since the last release. I'll try to squeeze it in this weekend.
In my project I'm using three different icon sets fa-* (fontawesome), glyphicons-* (glyphicons), md-* (material-design) for different sections: frontend and backend.
By this commit I can use the
icon
function like this:and the
parse_icons
filter like this:and will render to: