Fix HTML lang attribute (#169)

* Fix #165

* use .Site.Language.Lang instead of .Site.LanguageCode according to hugo documentation

* add contributor D_DAndrew
This commit is contained in:
d-dandrew 2019-04-22 21:27:07 +08:00 committed by Luiz F. A. de Prá
parent 81666ed54b
commit b535058204
2 changed files with 2 additions and 1 deletions

View File

@ -34,3 +34,4 @@
- [Paul Lettington](https://github.com/plett) - [Paul Lettington](https://github.com/plett)
- [Thomas Vochten](https://github.com/thomasvochten) - [Thomas Vochten](https://github.com/thomasvochten)
- [Caspar Krieger](https://www.asparck.com) - [Caspar Krieger](https://www.asparck.com)
- [D_DAndrew](https://d-dandrew.github.io)

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}"> <html lang="{{ .Site.Language.Lang }}">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">