1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Cotes Chung
401e2af0f8 fix: avoid mathjax loading failure on page refresh (#2389) 2025-05-05 11:55:48 +08:00
Cotes Chung
ada38aad96 chore: avoid auto-formatting liquid and sass mixed code 2025-05-05 11:15:08 +08:00
Cotes Chung
61ae6cced8 chore(dev-deps): add eslint config file 2025-05-05 11:14:07 +08:00
4 changed files with 8 additions and 2 deletions

View File

@@ -213,7 +213,7 @@ exclude:
- README.md
- LICENSE
- purgecss.js
- rollup.config.js
- "*.config.js"
- "package*.json"
jekyll-archives:

View File

@@ -66,7 +66,7 @@
{% if page.math %}
<!-- MathJax -->
<script async src="{{ '/assets/js/data/mathjax.js' | relative_url }}"></script>
<script src="{{ '/assets/js/data/mathjax.js' | relative_url }}"></script>
<script async src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="{{ site.data.origin[type].mathjax.js | relative_url }}"></script>
{% endif %}

View File

@@ -1,6 +1,7 @@
---
---
/* prettier-ignore */
@use 'main
{%- if jekyll.environment == 'production' -%}
.bundle

5
eslint.config.js Normal file
View File

@@ -0,0 +1,5 @@
export default [
{
files: ['_javascript/**/*.js']
}
];