We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cded7de commit 10c0333Copy full SHA for 10c0333
layout/_third-party/analytics/lean-analytics.swig
@@ -104,9 +104,7 @@
104
};
105
{% if page.layout === 'post' %}
106
const localhost = /http:\/\/(localhost|127.0.0.1|0.0.0.0)/;
107
- if (localhost.test(document.URL)) {
108
- return;
109
- }
+ if (localhost.test(document.URL)) return;
110
addCount(Counter);
111
{% else %}
112
if ($('.post-title-link').length >= 1) {
layout/_third-party/chatra.swig
@@ -1,11 +1,11 @@
1
{% if theme.chatra.enable %}
2
{% if theme.chatra.embed %}
3
- <script>
4
- window.ChatraSetup = {
5
- mode: 'frame',
6
- injectTo: '{{ theme.chatra.embed }}'
7
- };
8
- </script>
+ <script>
+ window.ChatraSetup = {
+ mode: 'frame',
+ injectTo: '{{ theme.chatra.embed }}'
+ };
+ </script>
9
{% endif %}
10
<script>
11
(function(d, w, c) {
0 commit comments