hana+nils hana+nils

Attributes Helper

Helper for Kirby to build attributes based on conditions, like conditionally adding classes to an element

Manual

Download and extract the folder to site/plugins/attributes-helper

Composer

Git Submodule

<p
    <?= attrs([
        'id' => 'introduction',
        'class' => 'highlighted'
    ])?>
>
    An introductory paragraph.
</p>
Version
2.0.0
License
MIT
Stars
5
Supports
K5 K4 K3
Created
5 Oct 2022
Implements
Latest releases
More