Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Marbles/statamic-cookie-consent

Repository files navigation

Make your website comply with the crazy EU cookie law

Software License SensioLabsInsight Quality Score StyleCI

Screenshot

Installation

Download or clone the repository, rename the folder to CookieConsent then copy the folder to your site's Addons directory, then refresh the add-ons to install the dependencies.

php please addons:refresh

Usage

To use the Cookie Consent addon, you need to add 3 tags to your theme layout:

Insert this tag before your own stylesheet, if you rather combine css, you can copy the css file from the CDN and combine it with your own stylesheet.

    {{ cookie_consent:css }}

Insert this tag before your own scripts, if you rather combine js, you can copy the js file from the CDN and combine it with your own JavaScript files.

    {{ cookie_consent:js }}

Insert this tag before your own scripts, this initializes the Cookie Consent plug-in with the values you chose.

    {{ cookie_consent }}

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email rias@marbles.be instead of using the issue tracker.

Credits

About Marbles

Marbles is a digital communication agency based in Antwerp, Belgium. Learn more about us on our website.

License

The MIT License (MIT). Please see License File for more information.

About

Make your Statamic website comply with the crazy EU cookie law

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages