mirror of https://github.com/luizdepra/hugo-coder.git

d-dandrew
22.27.2019 b53505820437ff778ab724d7f751ee003811ff7e
Fix HTML lang attribute (#169)

* Fix #165

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

* add contributor D_DAndrew
2 files modified
3 ■■■■ changed files
CONTRIBUTORS.md 1 ●●●● patch | view | raw | blame | history
layouts/_default/baseof.html 2 ●●● patch | view | raw | blame | history
CONTRIBUTORS.md
@@ -34,3 +34,4 @@
- [Paul Lettington](https://github.com/plett)
- [Thomas Vochten](https://github.com/thomasvochten)
- [Caspar Krieger](https://www.asparck.com)
- [D_DAndrew](https://d-dandrew.github.io)
layouts/_default/baseof.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<html lang="{{ .Site.Language.Lang }}">
  <head>
    <meta charset="utf-8">