Sha256: 166d74f68058ffa6c3963325c99f9bf9bae07dc278e8459cb63651e69bd4e1de

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

# Middleman GDPR
Helps getting your Middleman website GDPR compliant

## Installation
Add this line to your Gemfile:

```ruby
gem 'middleman-gdpr'
```

And then execute:
```bash
$ bundle
```

Or install it yourself as:
```bash
$ gem install middleman-gdpr
```

Activate [Sprockets](https://github.com/middleman/middleman-sprockets) and [I18n](https://middlemanapp.com/advanced/localization/):
```ruby
# config.rb
activate :sprockets
activate :i18n
```

Add this to the layout:
```ruby
  <%= gdpr %>
```

Add this to javascripts:
```js
//= require gdpr/cookie_consent
```

Add this to stylesheets:
```sass
@import 'gdpr/cookie_consent'
```

Set the privacy policy url in the locales.

## Checklist

https://www.eugdpr.org/

- [x] Cookie consent
- [ ] Privacy policy
- [ ] There must be an optin
- [ ] Optin must be unchecked by default
- [ ] Account must be deletable
- [ ] Users must have access to their data
- [ ] Users must be able to modify their data 

## Thanks

Inspired by cookies_eu (https://github.com/infinum/cookies_eu), thank you :)

## Contributing
Feel free to pull request!

## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-gdpr-0.1.0 README.md