Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 498 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 498 Bytes

Twig HTML Extension

This package is a Twig extension that provides the following:

  • data_uri filter: generates a URL using the data scheme as defined in RFC 2397;

  • html_classes function: returns a string by conditionally joining class names together.

  • html_cva function: returns a Cva object to handle class variants.