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 +4 -4
- data/README.md +1 -1
- data/_includes/default/head.liquid +6 -2
- data/_layouts/default.html +1 -1
- data/assets/js/partials/cookie_consent_init.js +1 -0
- data/assets/js/vendor/mermaid.min.js +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 156bbe1cf170b38f6c26d3ef1d10ec7ab44bae0f906d319fe81f236bc3655e84
|
4
|
+
data.tar.gz: 70be3647db492019087c9a1dbb81efe75194a739829d9fb9807dd4fbad9195c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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.
|
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({
|
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 %}
|
data/_layouts/default.html
CHANGED
@@ -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) };
|