add doc
This commit is contained in:
1 parent
16ef430a39
commit
792897291b
445 files changed
+30584
-5
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
{% if theme.chatra.enable %}
|
||||
{% if theme.chatra.embed %}
|
||||
<script>
|
||||
window.ChatraSetup = {
|
||||
mode: 'frame',
|
||||
injectTo: '{{ theme.chatra.embed }}'
|
||||
};
|
||||
</script>
|
||||
{% endif %}
|
||||
<script>
|
||||
(function(d, w, c) {
|
||||
w.ChatraID = '{{ theme.chatra.id }}';
|
||||
var s = d.createElement('script');
|
||||
w[c] = w[c] || function() {
|
||||
(w[c].q = w[c].q || []).push(arguments);
|
||||
};
|
||||
s.async = {{ theme.chatra.async }};
|
||||
s.src = 'https://call.chatra.io/chatra.js';
|
||||
if (d.head) d.head.appendChild(s);
|
||||
})(document, window, 'Chatra');
|
||||
</script>
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user