jekyll-theme-h2o-ac 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5466d537d2ee649f401585c16ce9194fd405b0e759592fb70fcc92c9f9d341e0
4
- data.tar.gz: cb1fb4039283854556cc05fb1ef93c51cf1c5afadd36d74384fd3122cf65f001
3
+ metadata.gz: ec60aee793daf441774cae331b78ba0251b5d2da24e59fa4ec880c4491f5af9b
4
+ data.tar.gz: faf930f91e02759ce8f58da7cb8f1ac41629b71fc0a927e4954f903567e31a5e
5
5
  SHA512:
6
- metadata.gz: 46b101f71a2afa8d30008f00553dc23245aa71927d240386cc3d03bb3a8b7b76763bd8c732aaa832c21d452dc1cdcac0fbb70536231ba7b0a4ebd8d8c71c928c
7
- data.tar.gz: 1a8cb8127f492b42a8c02dd5a77232d9d793001365545290a3ee1973bcfbdb580cf5f1adb2d61ce38c3b4dedf3af5062cae46d417ea3077aec44187a74d70219
6
+ metadata.gz: aa3e9fb4f52f138137b61e84be439b64c18e27626187394248d4255323d26de60bd0ec3e9751af7e0d936ff9f4bfc4ce396fb05965f35d0fe0fffe2f0b76922e
7
+ data.tar.gz: 0d8f8aa581aa647fb2f01085786f79dcc74b48d13feae3faaf3714c4439585c59596c61d79d29a4ede6b72874793326e6cbf2bad952666d017159b4c202016f8
data/_config.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  # jekyll-theme-h2o-ac
2
- version: 1.4.0
2
+ version: 1.5.0
3
3
 
4
4
  # Site settings 配置站点
5
5
  title: 'Mr Li'
@@ -164,6 +164,31 @@ umami:
164
164
  id:
165
165
  js:
166
166
 
167
+ # Shynet Analytics
168
+ shynet: false
169
+ shynet_url: ''
170
+
171
+ # Plausible Analytics
172
+ plausible: false
173
+ plausible_domain: 'example.com'
174
+ plausible_url: ''
175
+ # plausible_js: ''
176
+
177
+ # Fathom Analytics
178
+ fathom: false
179
+ fathom_id: ''
180
+
181
+ # Ackee Analytics
182
+ ackee: false
183
+ ackee_url: ''
184
+ ackee_id: ''
185
+ # ackee_js: ''
186
+
187
+ # Matomo Analytics
188
+ matomo: false
189
+ matomo_url: ''
190
+ matomo_id: ''
191
+
167
192
  # Google Analytics
168
193
  # google_analytics: UA-XXXXXXXXX-X
169
194
  google_analytics:
@@ -0,0 +1,3 @@
1
+ {% if site.ackee %}
2
+ <script async src="{{ site.ackee_url }}/{{ site.ackee_js | default: 'tracker.js' }}" data-ackee-server="{{ site.ackee_url }}" data-ackee-domain-id="{{ site.ackee_id }}"></script>
3
+ {% endif %}
@@ -1,3 +1,8 @@
1
1
  {% include plugins/analytics/google.html %}
2
2
  {% include plugins/analytics/umami.html %}
3
+ {% include plugins/analytics/shynet.html %}
4
+ {% include plugins/analytics/plausible.html %}
5
+ {% include plugins/analytics/fathom.html %}
6
+ {% include plugins/analytics/ackee.html %}
7
+ {% include plugins/analytics/matomo.html %}
3
8
  {% include plugins/analytics/busuanzi.html %}
@@ -0,0 +1,3 @@
1
+ {% if site.fathom %}
2
+ <script src="https://cdn.usefathom.com/script.js" data-site="{{ site.fathom_id }}" defer></script>
3
+ {% endif %}
@@ -0,0 +1,14 @@
1
+ {% if site.matomo %}
2
+ <script type="text/javascript">
3
+ var _paq = window._paq = window._paq || [];
4
+ _paq.push(['trackPageView']);
5
+ _paq.push(['enableLinkTracking']);
6
+ (function () {
7
+ var u = "{{ site.mamoto_url }}/";
8
+ _paq.push(['setTrackerUrl', u + 'matomo.php']);
9
+ _paq.push(['setSiteId', "{{ site.mamoto_id }}"]);
10
+ var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
11
+ g.type = 'text/javascript'; g.async = true; g.src = u + 'matomo.js'; s.parentNode.insertBefore(g, s);
12
+ })();
13
+ </script>
14
+ {% endif %}
@@ -0,0 +1,4 @@
1
+ {% if site.plausible %}
2
+ <script defer data-domain="{{ site.plausible_domain }}" data-api="{{ site.plausible_url }}/event"
3
+ src="{{ site.plausible_url }}/{{ site.plausible_js | default: 'js/plausible.js' }}"></script>
4
+ {% endif %}
@@ -0,0 +1,6 @@
1
+ {% if site.shynet %}
2
+ <noscript>
3
+ <img src="{{ site.shynet_url }}/pixel.gif">
4
+ </noscript>
5
+ <script defer src="{{ site.shynet_url }}/script.js"></script>
6
+ {% endif %}
@@ -1 +1 @@
1
- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.min.css"
1
+ <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.min.css">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-h2o-ac
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhonger
@@ -135,9 +135,14 @@ files:
135
135
  - _includes/layouts/sidebar.html
136
136
  - _includes/layouts/submenu.html
137
137
  - _includes/layouts/toc.html
138
+ - _includes/plugins/analytics/ackee.html
138
139
  - _includes/plugins/analytics/analytics.html
139
140
  - _includes/plugins/analytics/busuanzi.html
141
+ - _includes/plugins/analytics/fathom.html
140
142
  - _includes/plugins/analytics/google.html
143
+ - _includes/plugins/analytics/matomo.html
144
+ - _includes/plugins/analytics/plausible.html
145
+ - _includes/plugins/analytics/shynet.html
141
146
  - _includes/plugins/analytics/umami.html
142
147
  - _includes/plugins/comments/artalk_css.html
143
148
  - _includes/plugins/comments/artalk_js.html