mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-21 15:48:42 +00:00
14 lines
380 B
Markdown
14 lines
380 B
Markdown
Twig HTML Extension
|
|
===================
|
|
|
|
This package is a Twig extension that provides the following:
|
|
|
|
* [`data_uri`][1] filter: generates a URL using the data scheme as defined in
|
|
RFC 2397;
|
|
|
|
* [`html_classes`][2] function: returns a string by conditionally joining class
|
|
names together.
|
|
|
|
[1]: https://twig.symfony.com/data_uri
|
|
[2]: https://twig.symfony.com/html_classes
|