Skip to content

Commit 4c034ac

Browse files
committed
page-disable-chatbot
1 parent eb7a65a commit 4c034ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/partials/footer-scripts.hbs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
<template id="run-code-panel">
1111
{{> terminal}}
1212
</template>
13+
14+
{{#unless page.attributes.disable-chatbot}}
1315
<script id="site-script" src="{{{uiRootPath}}}/js/vendor/chatbox-ui.js"></script>
16+
{{/unless}}
17+
1418
<script id="site-script" src="{{{uiRootPath}}}/js/site.js"></script>
1519
<script async src="{{{uiRootPath}}}/js/vendor/tabs.js" data-sync-storage-key="preferred-tab"></script>
1620
{{#with page.attributes.content-scripts}}

0 commit comments

Comments
 (0)