Blogging with Jekyll - Legal and privacy
13 Jan 2018Legal and privacy topics don’t have primary focus on a blog but also such topics are important …
Cookie Consent
In some countries every website has to give a clear warning to the user if it is using cookies.
The easiest way to achieve this is to
- Create a “_includes/cookieconsent.html”
- Go to cookieconsent.insites.com
- Configure, download and add your consent text to “_includes/cookieconsent.html”
- Include “_includes/cookieconsent.html” into your head.html
{% include cookieconsent.html %}
Robots.txt
Even though you write a blog to share content with your readers you may have pages you don’t want to share with Google, e.g. imprint. In order to hide such pages just create a robots.txt your Jekyll root:
---
---
User-agent: *
Disallow: /impressum
Disallow: /impressum/
Disallow: /impressum.html
The "Blogging with Jekyll" series
- Blogging with Jekyll - Introduction
- Blogging with Jekyll - Basics
- Blogging with Jekyll - Tags and Series
- Blogging with Jekyll - Legal and privacy
- Blogging with Jekyll - SEO
- Blogging with Jekyll - My IBE