Skip to content

Commit 162cdf0

Browse files
committed
Move cookie consent script and css to own host
1 parent ccd72e4 commit 162cdf0

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@
7575
<script src="{{ site.cdn }}/js/imagelightbox.min.js"></script>
7676
<script src="{{ site.cdn }}/js/anchor.min.js"></script>
7777
<script src="{{ site.cdn }}/js/hangfire.js"></script>
78-
<script src="https://cdn.websitepolicies.io/lib/cconsent/cconsent.min.js" defer></script><script>window.addEventListener("load",function(){window.wpcb.init({"colors":{"popup":{"background":"#606060","text":"#ffffff","border":"#f9f9f9"},"button":{"background":"#f9f9f9","text":"#000000"}},"content":{"href":"https://www.hangfire.io/legal/cookie-policy.html","message":"For the purpose of providing services through our website we need to gather and process the necessary cookies. Additional cookies may be gathered by our service providers. By pressing “I Agree” you hereby confirm that you have reviewed our Cookie Policy.","button":"I Agree"},"corners":"small","padding":"small","transparency":5,"position":"bottom-right"})});</script>
78+
<script src="{{ site.cdn }}/js/cconsent.min.js" defer></script><script>window.addEventListener("load",function(){window.wpcb.init({"colors":{"popup":{"background":"#606060","text":"#ffffff","border":"#f9f9f9"},"button":{"background":"#f9f9f9","text":"#000000"}},"content":{"href":"https://www.hangfire.io/legal/cookie-policy.html","message":"For the purpose of providing services through our website we need to gather and process the necessary cookies. Additional cookies may be gathered by our service providers. By pressing “I Agree” you hereby confirm that you have reviewed our Cookie Policy.","button":"I Agree"},"corners":"small","padding":"small","transparency":5,"position":"bottom-right"})});</script>
7979
</body>
8080
</html>

css/cconsent.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/cconsent.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)