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

Add lang option to the site config sample

This commit is contained in:
Cotes Chung
2021-01-31 22:19:13 +08:00
parent 413a86277b
commit 91da99282d
2 changed files with 15 additions and 15 deletions

View File

@@ -11,7 +11,7 @@ layout: compress
{% endif %}
{% endcapture %}
<html lang="{{ site.lang | split: "_" | first | default: "en" }}" {{ prefer_mode }}>
<html lang="{{ site.lang | default: "en-US" }}" {{ prefer_mode }}>
{% include head.html %}