jekyll-theme-chirpy-customized-upe 3.2.0.pre.beta1 → 3.2.0.pre.beta3

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: f8f22cd7f3e99c84e9bf388bf879739696dc6a988094274d007708bfb01f3e3d
4
- data.tar.gz: f4e93a1122456d76854d1583044e0b2e7e4b234e87192325f880944e48ead31b
3
+ metadata.gz: 0b0c042ca31256daccd9ec4d70fbcbeccfa5cc7a6a504ab64dd011aad4f37630
4
+ data.tar.gz: e7683eacd91921cdb4ae3758e1c0ee2d6ad7af0f87f36133e81ad54570a663d1
5
5
  SHA512:
6
- metadata.gz: fb95f8eb399551681eb5946efb249a0a289c9e60743e097a6cc7d1afe6e55d4e383b169d49a14dddbdf55f895477ae96d8952ed80a798cb753eb3ea5241f1d26
7
- data.tar.gz: 5b138c6bd895ac2643c0d682d39b8bba7d589bd9c070e1cfe198b8f229a29c190c93ee9417305cfe88fc66f4516b2b09773a68ed1d079b66925f9ebb4cecc06a
6
+ metadata.gz: 783009a2561a2d40e8e2eb7d2d6f20fd1105985f39432bd9638b806a328b6ac20b2c9c90e2b39b08920deb563551df0b957d800c11b6effcd127d5a54d6fc05b
7
+ data.tar.gz: 7c5518aa74f8a40fe7776ccee6f4df68875d14595fe3c90edb4ac601ea6f6eba19895642928c30a047cd61775ab6bf108dde7993414c9d8f99804358f967d93e
@@ -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,10 +1,11 @@
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: {
5
5
  autoNumber: "AMS"
6
6
  }
7
7
  },
8
+ showProcessingMessages: false,
8
9
  extensions: ["tex2jax.js"],
9
10
  jax: ["input/TeX", "output/HTML-CSS"],
10
11
  tex2jax: {
@@ -19,7 +20,7 @@
19
20
  type="text/javascript"
20
21
  async
21
22
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"
22
- ></script>
23
+ ></script> -->
23
24
 
24
25
  <!-- MathJax -->
25
26
  <!-- <script>
@@ -44,3 +45,62 @@
44
45
  <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
45
46
  <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js"></script> -->
46
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,7 +79,11 @@ layout: compress
79
79
 
80
80
  {% include login-check.html %}
81
81
 
82
- {% 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 %}
86
+ {% endif %}
83
87
 
84
88
  {% include js-selector.html %}
85
89
 
data/_layouts/home.html CHANGED
@@ -111,6 +111,7 @@ refactor: true
111
111
  </article>
112
112
  {% endfor %}
113
113
  </div>
114
+
114
115
  <!-- #post-list -->
115
116
 
116
117
  {% if paginator.total_pages > 1 %}
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.beta1
4
+ version: 3.2.0.pre.beta3
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