jekyll-theme-chirpy-customized-upe 3.2.0.pre.beta2 → 3.2.0

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: 3abe9a5c60d1d3e6a5f958e8aa8072b264d62812906cf8d2b18f76c083e0de08
4
- data.tar.gz: 277dae43828286fc92fc36a659ee46df3f586a9521a413d6f5eeb1ac7b319793
3
+ metadata.gz: 7f1e3a13b8cef8fcb6250cdd014e73599f19e600c58e9f57404889e9290c6595
4
+ data.tar.gz: 712ea1dcb3a5ae3b24e53e0213f3f42991cff19627b446b5c3d20c696feb53e0
5
5
  SHA512:
6
- metadata.gz: 7fe50538e0cc7bf0f9869b6f7e5f9b69958c94a07f7c95582ae3053826e63b1417768f5944712ac373ccf856e0218af624440952ceac42ed72d29c484b11c109
7
- data.tar.gz: fee7dba2389e6bbcdfada0f62d8357618827f53751b5ecccec0b5722775fe87fcb2b11362ba69133cc6ae29acd34d178b79ae4f8d7dc11ab6418fab1d64a625a
6
+ metadata.gz: 33703f85576302530e258983eb8f33192b232fe36cefbe30c21078001f5cd5667cb501f3541a7544ecc31b748f91815c4a3380cf7368234e93bf617e54232137
7
+ data.tar.gz: c034e23a67ff75ce96e3629979f78236deac5bd5e83a7b7f702fe9bc06aa97898bcaf56d33fb3f178b55176a2fcb4fed44f1d41420a50f045349f23ccef88e94
@@ -70,9 +70,30 @@
70
70
 
71
71
  {% if page.math %}
72
72
  <!-- MathJax -->
73
+
73
74
  <script>
74
75
  /* see: <https://docs.mathjax.org/en/latest/options/input/tex.html#tex-options> */
75
76
  MathJax = {
77
+ loader: {
78
+ showProcessingMessages: false,
79
+ versionWarnings: false,
80
+ messageStyle: 'none',
81
+ load: [
82
+ 'input/tex-base',
83
+ 'output/chtml',
84
+ '[tex]/action',
85
+ {% for package in site.mathjax.packages %}
86
+ {% if package[1] == true %}
87
+ '[tex]/{{ package[0] }}',
88
+ {% endif %}
89
+ {% endfor %}
90
+ {% unless site.mathjax.other_packages == empty %}
91
+ {% for package in site.mathjax.other_packages %}
92
+ '[tex]/{{ package }}',
93
+ {% endfor %}
94
+ {% endunless %}
95
+ ]},
96
+
76
97
  tex: {
77
98
  /* start/end delimiter pairs for in-line math */
78
99
  inlineMath: [
@@ -83,7 +104,26 @@
83
104
  displayMath: [
84
105
  ['$$', '$$'],
85
106
  ['\\[', '\\]']
86
- ]
107
+ ],
108
+ macros: {
109
+ {% for macro in site.mathjax.macros %}
110
+ {{macro[0]}}: "{{macro[1]}}",
111
+ {% endfor %}
112
+ },
113
+ packages: [
114
+ 'base',
115
+ 'action',
116
+ {% for package in site.mathjax.packages %}
117
+ {% if package[1] == true %}
118
+ '{{ package[0] }}',
119
+ {% endif %}
120
+ {% endfor %}
121
+ {% unless site.mathjax.other_packages == empty %}
122
+ {% for package in site.mathjax.other_packages %}
123
+ '{{ package }}',
124
+ {% endfor %}
125
+ {% endunless %}
126
+ ],
87
127
  }
88
128
  };
89
129
  </script>
@@ -1,4 +1,4 @@
1
- <script type="text/x-mathjax-config">
1
+ <!-- <script type="text/x-mathjax-config">
2
2
  MathJax.Hub.Config({
3
3
  TeX: {
4
4
  equationNumbers: {
@@ -20,7 +20,7 @@
20
20
  type="text/javascript"
21
21
  async
22
22
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"
23
- ></script>
23
+ ></script> -->
24
24
 
25
25
  <!-- MathJax -->
26
26
  <!-- <script>
@@ -45,3 +45,62 @@
45
45
  <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
46
46
  <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js"></script> -->
47
47
 
48
+ <script>
49
+ /* see: <https://docs.mathjax.org/en/latest/options/input/tex.html#tex-options> */
50
+ MathJax = {
51
+ loader: {
52
+ showProcessingMessages: false,
53
+ versionWarnings: false,
54
+ messageStyle: 'none',
55
+ load: [
56
+ 'input/tex-base',
57
+ 'output/chtml',
58
+ '[tex]/action',
59
+ {% for package in site.mathjax.packages %}
60
+ {% if package[1] == true %}
61
+ '[tex]/{{ package[0] }}',
62
+ {% endif %}
63
+ {% endfor %}
64
+ {% unless site.mathjax.other_packages == empty %}
65
+ {% for package in site.mathjax.other_packages %}
66
+ '[tex]/{{ package }}',
67
+ {% endfor %}
68
+ {% endunless %}
69
+ ]},
70
+
71
+ tex: {
72
+ /* start/end delimiter pairs for in-line math */
73
+ inlineMath: [
74
+ ['$', '$'],
75
+ ['\\(', '\\)']
76
+ ],
77
+ /* start/end delimiter pairs for display math */
78
+ displayMath: [
79
+ ['$$', '$$'],
80
+ ['\\[', '\\]']
81
+ ],
82
+ macros: {
83
+ {% for macro in site.mathjax.macros %}
84
+ {{macro[0]}}: "{{macro[1]}}",
85
+ {% endfor %}
86
+ },
87
+ packages: [
88
+ 'base',
89
+ 'action',
90
+ {% for package in site.mathjax.packages %}
91
+ {% if package[1] == true %}
92
+ '{{ package[0] }}',
93
+ {% endif %}
94
+ {% endfor %}
95
+ {% unless site.mathjax.other_packages == empty %}
96
+ {% for package in site.mathjax.other_packages %}
97
+ '{{ package }}',
98
+ {% endfor %}
99
+ {% endunless %}
100
+ ],
101
+ }
102
+ };
103
+ </script>
104
+ <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
105
+ <script id="MathJax-script" async src="{{ site.data.origin[type].mathjax.js | relative_url }}"></script>
106
+
@@ -79,8 +79,10 @@ layout: compress
79
79
 
80
80
  {% include login-check.html %}
81
81
 
82
- {% if page.layout == 'home' %}
83
- {% include mathjax_support.html %}
82
+ {% if site.mathjax.display_on_home.enabled %}
83
+ {% unless page.layout == 'post' or page.layout == 'archives' %}
84
+ {% include mathjax_support.html %}
85
+ {% endunless %}
84
86
  {% endif %}
85
87
 
86
88
  {% include js-selector.html %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-chirpy-customized-upe
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0.pre.beta2
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Cruise
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-28 00:00:00.000000000 Z
11
+ date: 2024-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -240,9 +240,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
240
240
  version: '3.0'
241
241
  required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  requirements:
243
- - - ">"
243
+ - - ">="
244
244
  - !ruby/object:Gem::Version
245
- version: 1.3.1
245
+ version: '0'
246
246
  requirements: []
247
247
  rubygems_version: 3.3.26
248
248
  signing_key: