Skip to content

Commit

Permalink
Use two-space indent
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Jul 12, 2019
1 parent b4ea575 commit 8dd8f17
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions layout/_partials/share/likely.swig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{% endif %}

<div class="{{ likely_look }}">
{% for x in theme.likely.networks %}
<div class="{{ loop.key }}">{{ x }}</div>
{% endfor %}
{% for x in theme.likely.networks %}
<div class="{{ loop.key }}">{{ x }}</div>
{% endfor %}
</div>
38 changes: 19 additions & 19 deletions layout/_third-party/chatra.swig
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{% if theme.chatra.enable %}
{% if theme.chatra.embed %}
<script>
window.ChatraSetup = {
mode: 'frame',
injectTo: '{{ theme.chatra.embed }}'
{% 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);
};
</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>
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 %}

0 comments on commit 8dd8f17

Please sign in to comment.