1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-06-09 17:18:17 +00:00

Compare commits

...

6 Commits

Author SHA1 Message Date
dependabot[bot]
7702d5996b
build(deps): update bootstrap requirement in the prod-deps group
Updates the requirements on [bootstrap](https://github.com/twbs/bootstrap) to permit the latest version.

Updates `bootstrap` to 5.3.5
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v5.3.3...v5.3.5)

---
updated-dependencies:
- dependency-name: bootstrap
  dependency-version: 5.3.5
  dependency-type: direct:production
  dependency-group: prod-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 20:02:06 +00:00
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
Cotes Chung
9f38a2dead
refactor: move the path of theme.js 2025-05-03 16:18:52 +08:00
Cotes Chung
23d953c313
chore(deps): remove plugin jekyll-redirect-from
Discussed in #2313
2025-05-03 16:14:50 +08:00
9 changed files with 11 additions and 11 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

@ -2,13 +2,8 @@
layout: page
title: "404: Page not found"
permalink: /404.html
redirect_from:
- /norobots/
- /assets/
- /posts/
---
{% include lang.html %}
<p class="lead">{{ site.data.locales[lang].not_found.statement }}</p>
<p class="lead">{{ site.data.locales[lang].not_found.statement }}</p>

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']
}
];

View File

@ -27,7 +27,6 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "jekyll", "~> 4.3"
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
spec.add_runtime_dependency "jekyll-redirect-from", "~> 0.16"
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.8"
spec.add_runtime_dependency "jekyll-archives", "~> 2.2"
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.4"

View File

@ -25,7 +25,7 @@
},
"dependencies": {
"@popperjs/core": "^2.11.8",
"bootstrap": "^5.3.3"
"bootstrap": "^5.3.6"
},
"devDependencies": {
"@babel/core": "^7.26.0",

View File

@ -80,7 +80,7 @@ export default [
build('page'),
build('post'),
build('misc'),
build('theme', { src: `${SRC_DEFAULT}/modules`, outputName: 'Theme' }),
build('theme', { outputName: 'Theme' }),
build('app', { src: SRC_PWA, jekyll: true }),
build('sw', { src: SRC_PWA, jekyll: true })
];