diff --git a/README.md b/README.md index 4463fc6..ea7dfc9 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,16 @@

-# Classnames plugin for Craft CMS 4.x +# Classnames plugin for Craft CMS 5.x Classnames is a simple Twig function for conditionally joining css class names together in Twig templates, in a way that makes them much more readable. It's like Jed Watson's [Classnames](https://github.com/JedWatson/classnames) but for Twig in Craft. +This plugin is especially useful with Tailwind CSS projects. + ## Requirements -This plugin requires Craft CMS 4.0.0 or later. +This plugin requires Craft CMS 5.0.0 or later. -For Craft 3 users, [view the v1 branch](https://github.com/vigetlabs/craft-classnames/tree/v1). +For Craft 4 users, [view the v2 branch](https://github.com/vigetlabs/craft-classnames/tree/v2). ## Installation diff --git a/src/Classnames.php b/src/Classnames.php index 372748a..5bfe73c 100644 --- a/src/Classnames.php +++ b/src/Classnames.php @@ -1,6 +1,6 @@