Chirpy
Chirpyの表示が日本語に翻訳されていなかったので,翻訳してみました(https://github.com/cotes2020/jekyll-theme-chirpy/pull/2295).7.3.0以上を使用すれば,_config.ymlのlangをja-JPにするだけで使えます.何かあれば,https://github.com/cotes2020/jekyll-theme-chirpy/pull/2295などにご連絡ください.
しかし,https://manabu-nakamura.github.io/chirpy-starter5/archives/内の日付が「日 / 月」に固定されていて困りました(https://github.com/cotes2020/jekyll-theme-chirpy/issues/716).1⃣_layouts/archives.html(元々の_layouts/archives.htmlの26行の「日」を「月 / 日」にし,27-29行の「/ 月」を削除したもの)を追加しました(https://manabu-nakamura.github.io/chirpy-starter/archives/).
1
2
3
4
<span class="date day" data-ts="{{ ts }}" data-df="DD">{{ post.date | date: '%d' }}</span>
<span class="date month small text-muted ms-1" data-ts="{{ ts }}" data-df="{{ df_dayjs_m }}">
{{ post.date | date: df_strftime_m }}
</span>
⬇️
1
2
3
4
<span class="date day" data-ts="{{ ts }}" data-df="MM / DD">{{ post.date | date: '%m / %d' }}</span>
<!--span class="date month small text-muted ms-1" data-ts="{{ ts }}" data-df="{{ df_dayjs_m }}">
{{ post.date | date: df_strftime_m }}
</span-->
2⃣26行の「日」を「月 /」にし,27-29行の「/ 月」を「日」にするのも悪くありません(_layouts/archives.html,https://manabu-nakamura.github.io/chirpy-starter2/archives/).3⃣26行の「日」を削除し,27-29行の「/ 月」を「月 / 日」にすると,レイアウトが若干崩れます(_layouts/archives.html,https://manabu-nakamura.github.io/chirpy-starter3/archives/).4⃣27-29行の「/ 月」を「月 /」にし,26行の「日」と27-29行の「月 /」を入れ替えるのも悪くありません(_layouts/archives.html,https://manabu-nakamura.github.io/chirpy-starter4/archives/).
余談ですが,コードを引用する際に行番号の初期値を変更できないようです(https://github.com/jekyll/jekyll/pull/7084).今回は行番号を消しています.