1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 21:53:26 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Corey Goldberg
92e0ff63ec build(deps): update platforms in Gemfile for Windows (#2628) 2025-12-19 02:55:28 +08:00
nakamura
52d160f857 fix(i18n): localize the title (#2610) 2025-12-18 01:51:53 +08:00
4 changed files with 22 additions and 14 deletions

View File

@@ -6,9 +6,9 @@ gemspec
gem "html-proofer", "~> 5.0", group: :test
platforms :mingw, :x64_mingw, :mswin, :jruby do
platforms :windows, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end
gem "wdm", "~> 0.2.0", :platforms => [:mingw, :x64_mingw, :mswin]
gem "wdm", "~> 0.2.0", :platforms => [:windows]

View File

@@ -57,9 +57,17 @@
<title>
{%- unless page.layout == 'home' -%}
{{ page.title | append: ' | ' }}
{%- capture title -%}
{%- if page.collection == 'tabs' -%}
{%- assign tab_key = page.title | downcase -%}
{{- site.data.locales[include.lang].tabs[tab_key] -}}
{%- else -%}
{{- page.title -}}
{%- endif -%}
{%- endcapture -%}
{{- title | append: ' | ' -}}
{%- endunless -%}
{{ site.title }}
{{- site.title -}}
</title>
{% include_cached favicons.html %}

View File

@@ -14,7 +14,7 @@ layout: compress
<!-- `site.alt_lang` can specify a language different from the UI -->
<html lang="{{ page.lang | default: site.alt_lang | default: site.lang }}" {{ prefer_mode }}>
{% include head.html %}
{% include head.html lang=lang %}
<body>
{% include sidebar.html lang=lang %}

View File

@@ -30,12 +30,12 @@
"bootstrap": "^5.3.8"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/core": "^7.28.4",
"@babel/plugin-transform-class-properties": "^7.27.1",
"@babel/plugin-transform-private-methods": "^7.27.1",
"@babel/preset-env": "^7.28.5",
"@commitlint/cli": "^20.2.0",
"@commitlint/config-conventional": "^20.2.0",
"@babel/preset-env": "^7.28.3",
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@rollup/plugin-babel": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^0.4.4",
@@ -44,13 +44,13 @@
"@semantic-release/git": "^10.0.1",
"concurrently": "^9.2.1",
"conventional-changelog-conventionalcommits": "^9.1.0",
"eslint": "^9.39.1",
"globals": "^16.5.0",
"eslint": "^9.38.0",
"globals": "^16.4.0",
"husky": "^9.1.7",
"purgecss": "^7.0.2",
"rollup": "^4.53.3",
"semantic-release": "^25.0.2",
"stylelint": "^16.26.1",
"rollup": "^4.52.5",
"semantic-release": "^25.0.1",
"stylelint": "^16.25.0",
"stylelint-config-standard-scss": "^16.0.0"
},
"prettier": {