type-on-strap 2.4.2 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b4bbb13277b77d2a93d2837456b45e0350026ce480a4a980c216cb2ab6b694b
4
- data.tar.gz: a54cdf0f90bf33af04b42bd27fed0c29f1a409df5e8e857382b12eed7145deb9
3
+ metadata.gz: 156bbe1cf170b38f6c26d3ef1d10ec7ab44bae0f906d319fe81f236bc3655e84
4
+ data.tar.gz: 70be3647db492019087c9a1dbb81efe75194a739829d9fb9807dd4fbad9195c5
5
5
  SHA512:
6
- metadata.gz: a9c51c7fbdfe7c4a5ea6d460fdca02b156df66a46371517ba5d0d116a12fcd2c510fc461e0c0019f51c85ed6a1af70e4aedc09629c9e4a8f774395490a0e66ba
7
- data.tar.gz: 5beac4a06c5a55a8571a8d089364d07bef4095509a422579c739beff8f1f7390858d482a5c67c4b26daeb9fb294c40a545297dda9d579915f5becc1fb465146c
6
+ metadata.gz: c2106f5c0a8fdb10ee22cc986ded7efcc21eb347e7ea68b54da1a8dd9c99327cde99ef4fb8cab8b937e0b8de889fdea53a0a986a7e03316295a95e7eb53f292e
7
+ data.tar.gz: 248f2a9d816a92a9ed1d8a32ebe615a49f8537cce9f88a22d313114fb36236ca383936bfcd63c27681b177dc526318d58996a1856923236b328a70542fd6f7e2
data/README.md CHANGED
@@ -251,7 +251,7 @@ Enable the [mermaid-js](https://github.com/mermaid-js/mermaid) diagram rendering
251
251
  This will load and init the [mermaid.min.js](https://mermaid-js.github.io/mermaid/getting-started/n00b-gettingStarted.html#4-calling-mermaid-from-a-relative-link).
252
252
 
253
253
  ```yml
254
- mermaid: true # to Enable it
254
+ mermaid: default # Enable mermaid-js for diagrams, use theme: base, forest, dark, default, neutral
255
255
  ```
256
256
 
257
257
  Find all the help you need on the official [mermaid documentation](https://mermaid-js.github.io/mermaid/).
@@ -41,9 +41,12 @@
41
41
  <script defer src="{{ '/assets/js/vendor/auto-render.min.js' | relative_url }}" onload="renderMathInElement(document.body);"></script>
42
42
  {% endif %}
43
43
 
44
- <!-- Mermaid 9.1.0 -->
44
+ <!-- Mermaid 9.1.1 -->
45
45
  {% if site.mermaid %}
46
- <script defer src="{{ '/assets/js/vendor/mermaid.min.js' | relative_url }}" onload="mermaid.initialize({startOnLoad:true});"></script>
46
+ <script defer src="{{ '/assets/js/vendor/mermaid.min.js' | relative_url }}" onload="mermaid.initialize({
47
+ startOnLoad:true,
48
+ theme: '{{ site.mermaid }}',
49
+ });"></script>
47
50
  {% endif %}
48
51
 
49
52
  <!-- Simple Jekyll Search 1.10.0 -->
@@ -54,6 +57,7 @@
54
57
  const cookieName = 'cookie-notice-dismissed-{{ site.url }}';
55
58
  const isCookieConsent = '{{ site.cookie_consent }}';
56
59
  const analyticsName = '{{ site.google_analytics }}';
60
+ const analyticsNameGA4 = '{{ site.google_analytics_ga4 }}';
57
61
  </script>
58
62
 
59
63
  {% if site.cookie_consent %}
@@ -1,6 +1,6 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Type on Strap jekyll theme v2.4.2
3
+ Type on Strap jekyll theme v2.4.3
4
4
  Theme free for personal and commercial use under the MIT license
5
5
  https://github.com/sylhare/Type-on-Strap/blob/master/LICENSE
6
6
  -->
@@ -35,6 +35,7 @@ function googleAnalytics() {
35
35
  function gtag() { dataLayer.push(arguments); }
36
36
  gtag('js', new Date());
37
37
  gtag('config', analyticsName);
38
+ gtag('config', analyticsNameGA4, { 'anonymize_ip': true });
38
39
 
39
40
  // Google analytics
40
41
  window.ga = window.ga || function () { (ga.q = ga.q || []).push(arguments) };