diff options
author | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2018-01-30 21:26:46 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2018-01-30 21:26:46 +0800 |
commit | 084f8cb2c350f44fd99bf0fc76beadbfc92e9f02 (patch) | |
tree | 31d9df6a69f2bcf5678c7882239a20d0862cea70 /layouts/_default/baseof.html | |
parent | dcff1e389f0474bf01bdacbad6313fbdadab5329 (diff) |
feat: support multilingual mode
* fix: wrong lang attribute in multilingual mode
- baseof.html
* fix: rss link in multilingual mode
- footer.html
* fix: wrong tags, categories, home link in multilingual mode
- other files ...
This relates to #25
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 60edd94..445c5fb 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="{{ $.Site.LanguageCode | default "en" }}"> +<html lang="{{ .Site.Language }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |