Skip to content

Commit 8b40904

Browse files
author
Dhruva Shaw
committed
some changes
1 parent 11b7b95 commit 8b40904

File tree

1 file changed

+10
-50
lines changed

1 file changed

+10
-50
lines changed

_includes/head.liquid

Lines changed: 10 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
<!-- Metadata, OpenGraph and Schema.org -->
22
{% include metadata.liquid %}
3-
4-
<!-- Bootstrap & MDB -->
5-
<link rel="stylesheet" href="{{ '/assets/css/bootstrap.min.css' | relative_url | bust_file_cache }}">
6-
<link
7-
rel="stylesheet"
8-
href="{{ site.third_party_libraries.mdb.url.css }}"
9-
integrity="{{ site.third_party_libraries.mdb.integrity.css }}"
10-
crossorigin="anonymous"
11-
>
12-
13-
<!-- Click.io -->
14-
<script defer data-cfasync='false' src='https://s.clickiocdn.com/t/240610_wv.js'></script>
15-
163
<!-- TCF stub -->
174
<script type="text/javascript">
185
!function(){"use strict";var t,e,o=(t=function(t){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){for(var t,o,n=[],r=window,a=r;a;){try{if(a.frames.__tcfapiLocator){t=a;break}}catch(t){}if(a===r.top)break;a=a.parent}t||(function t(){var e=r.document,o=!!r.frames.__tcfapiLocator;if(!o)if(e.body){var n=e.createElement("iframe");n.style.cssText="display:none",n.name="__tcfapiLocator",e.body.appendChild(n)}else setTimeout(t,5);return!o}(),r.__tcfapi=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return n;"setGdprApplies"===e[0]?e.length>3&&2===parseInt(e[1],10)&&"boolean"==typeof e[3]&&(o=e[3],"function"==typeof e[2]&&e[2]("set",!0)):"ping"===e[0]?"function"==typeof e[2]&&e[2]({gdprApplies:o,cmpLoaded:!1,cmpStatus:"stub"}):n.push(e)},r.addEventListener("message",(function(t){var o="string"==typeof t.data,n={};if(o)try{n=JSON.parse(t.data)}catch(t){}else n=t.data;var r="object"===e(n)&&null!==n?n.__tcfapiCall:null;r&&window.__tcfapi(r.command,r.version,(function(e,n){var a={__tcfapiReturn:{returnValue:e,success:n,callId:r.callId}};t&&t.source&&t.source.postMessage&&t.source.postMessage(o?JSON.stringify(a):a,"*")}),r.parameter)}),!1))}},t(e={exports:{}}),e.exports);o()}();
@@ -53,44 +40,17 @@
5340

5441
<!-- Clickio Consent Main tag -->
5542
<script async type="text/javascript" src="//clickiocmp.com/t/consent_240610.js"></script>
43+
<!-- Bootstrap & MDB -->
44+
<link rel="stylesheet" href="{{ '/assets/css/bootstrap.min.css' | relative_url | bust_file_cache }}">
45+
<link
46+
rel="stylesheet"
47+
href="{{ site.third_party_libraries.mdb.url.css }}"
48+
integrity="{{ site.third_party_libraries.mdb.integrity.css }}"
49+
crossorigin="anonymous"
50+
>
5651

57-
<script>
58-
// Define dataLayer and the gtag function.
59-
window.dataLayer = window.dataLayer || [];
60-
function gtag(){dataLayer.push(arguments);}
61-
62-
// Set default consent to 'denied' as a placeholder
63-
// Determine actual values based on your own requirements
64-
gtag('consent', 'default', {
65-
'ad_storage': 'denied',
66-
'ad_user_data': 'denied',
67-
'ad_personalization': 'denied',
68-
'analytics_storage': 'denied'
69-
});
70-
</script>
71-
72-
<!-- Google Tag Manager -->
73-
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
74-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
75-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
76-
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
77-
})(window,document,'script','dataLayer','GTM-XXXXXX');</script>
78-
<!-- End Google Tag Manager -->
79-
80-
<!-- Create one update function for each consent parameter -->
81-
<script>
82-
function consentGrantedAdStorage() {
83-
gtag('consent', 'update', {
84-
'ad_storage': 'granted'
85-
});
86-
}
87-
</script>
88-
<!-- Invoke your consent functions when a user interacts with your banner -->
89-
<body>
90-
...
91-
<button onclick="consentGrantedAdStorage()">Yes</button>
92-
...
93-
</body>
52+
<!-- Click.io -->
53+
<script defer data-cfasync='false' src='https://s.clickiocdn.com/t/240610_wv.js'></script>
9454

9555
<!-- Bootstrap Table -->
9656
{% if page.pretty_table %}

0 commit comments

Comments
 (0)