Skip to content

Commit 65d5e5c

Browse files
Merge pull request #119 from miguelgfierro/cookies
Cookie notice based on GDPR
2 parents b3bf04e + 4b3e3f9 commit 65d5e5c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Blog developed in Django with the same appearance of a research paper written in
2121
* Comments with Disqus
2222
* Easy writing with Ckeditor
2323
* Responsive for mobile
24+
* GDPR compliant
2425
* (Optional) Web optimization with CloudFlare
2526
* (Optional) Installation of free SSL certificate
2627
* (Optional) Privacy policy compliant with GDPR

blog/templates/desktop/blog/post_base.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@
135135

136136
{% endif %}
137137

138+
<!-- Cookie notice GDPR based of https://cookie-bar.eu/-->
139+
<script type="text/javascript"
140+
src="https://cdn.jsdelivr.net/npm/cookie-bar/cookiebar-latest.min.js?forceLang=en&theme=minimal&customize=1&tracking=1&always=1&showPolicyLink=1&remember=180&privacyPage=%2Fprivacy%2F"></script>
141+
138142
</body>
139143

140144
</html>

blog/templates/mobile/blog/post_base.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@
130130

131131
{% endif %}
132132

133+
<!-- Cookie notice GDPR based of https://cookie-bar.eu/-->
134+
<script type="text/javascript"
135+
src="https://cdn.jsdelivr.net/npm/cookie-bar/cookiebar-latest.min.js?forceLang=en&theme=minimal&customize=1&tracking=1&always=1&showPolicyLink=1&remember=180&privacyPage=%2Fprivacy%2F"></script>
136+
133137
</body>
134138

135139
</html>

0 commit comments

Comments
 (0)