From 91da99282d614ec17e9218350b2b8c81bd988043 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sun, 31 Jan 2021 22:19:13 +0800 Subject: [PATCH] Add lang option to the site config sample --- _config.yml | 28 ++++++++++++++-------------- _layouts/default.html | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/_config.yml b/_config.yml index 117d01f..3a6f7dd 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,15 @@ # The Site Configuration +# Only if your site type is GitHub Project sites and doesn't have a custom domain, +# change below value to '/projectname'. +baseurl: '' + +# the HTML language tag › https://www.w3.org/International/questions/qa-choosing-language-tags +lang: en-US + +# Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone +timezone: Asia/Shanghai + # jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md # -------------------------- title: Chirpy # the main title @@ -36,14 +46,6 @@ social: google_site_verification: google_meta_tag_verification # change to your verification string # -------------------------- - -# Only if your site type is GitHub Project sites and doesn't have a custom domain, -# change below value to '/projectname'. -baseurl: '' - -# Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone -timezone: Asia/Shanghai - google_analytics: id: '' # Fill with your Google Analytics ID pv: @@ -55,11 +57,6 @@ google_analytics: proxy_endpoint: '' cache: false # pv data local cache, good for the users from GFW area. -disqus: - comments: false # boolean type, the global switch for posts comments. - shortname: '' # Fill with your Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname - - # Prefer color scheme setting. # # Note: Keep empty will follow the system prefer color by default, @@ -86,8 +83,11 @@ avatar: https://cdn.jsdelivr.net/gh/cotes2020/chirpy-images/commons/avatar.jpg # boolean type, the global switch for ToC in posts. toc: true -paginate: 10 +disqus: + comments: false # boolean type, the global switch for posts comments. + shortname: '' # Fill with your Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname +paginate: 10 # ------------ The following options are not recommended to be modified ------------------ diff --git a/_layouts/default.html b/_layouts/default.html index 204847a..79bfd37 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,7 +11,7 @@ layout: compress {% endif %} {% endcapture %} - + {% include head.html %}