Skip to content

Commit 63be8f8

Browse files
committed
Merge branch 'master' of https://github.com/couchbase/docs-ui-sandbox into ui-bug-fixes
2 parents 2a14835 + feb1ce5 commit 63be8f8

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= Couchbase Documentation UI
22
// Variables:
3-
:current-release: prod-64
3+
:current-release: prod-66
44
// Settings:
55
:!example-caption:
66
:experimental:

netlify.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ NODE_VERSION = "10"
77
ALGOLIA_APP_ID = "NI1G57N08Q"
88
ALGOLIA_API_KEY = "d3eff3e8bcc0860b8ceae87360a47d54"
99
ALGOLIA_INDEX_NAME = "prod_docs_couchbase"
10-
OPTANON_SCRIPT_URL = "https://cdn.cookielaw.org/consent/288c1333-faac-4514-a8bf-a30b3db0ee32.js"
10+
OPTANON_SCRIPT_URL = "https://cdn.cookielaw.org/scripttemplates/otSDKStub.js"
11+
OPTANON_SCRIPT_DATA_DOMAIN_SCRIPT = "748511ff-10bf-44bf-88b8-36382e5b5fd9"
1112

1213
[context.branch-deploy]
1314
command = "node_modules/.bin/gulp preview:build && node_modules/.bin/gulp --series build bundle:pack"

src/partials/head-last.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css">
22
<script src="{{{uiRootPath}}}/js/vendor/jquery.js"></script>
3-
{{#with env.OPTANON_SCRIPT_URL}}
4-
<script src="{{this}}"></script>
3+
{{#if env.OPTANON_SCRIPT_URL}}
4+
<script src="{{env.OPTANON_SCRIPT_URL}}" data-domain-script="{{env.OPTANON_SCRIPT_DATA_DOMAIN_SCRIPT}}"></script>
55
<script>function OptanonWrapper(){}</script>
6-
{{/with}}
6+
{{/if}}
77
{{#with site.keys.googleAnalytics}}
88
<script>(window.dataLayer=window.dataLayer||[]).push({'gtm.start':+new Date(),event:'gtm.js'})</script>
99
<script async src="https://www.googletagmanager.com/gtm.js?id={{{this}}}"></script>

0 commit comments

Comments
 (0)