Browse Source

header.html: Use "default" to specify the language. (#37)

Signed-off-by: Stephan Kulla <git.mail@kulla.me>
Stephan Kulla 8 years ago
parent
commit
ec969a0052
1 changed files with 1 additions and 1 deletions
  1. 1 1
      layouts/partials/header.html

+ 1 - 1
layouts/partials/header.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
+<html lang="{{ .Site.LanguageCode | default "en-us" }}">
 <head>
 
   <meta charset="utf-8">