Fix language in html tag

This commit is contained in:
Flavio Copes 2016-03-30 19:19:53 +02:00
parent e29cd46960
commit 8277d0f869
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{% set theme_config = attribute(config.themes, config.system.pages.theme) %} {% set theme_config = attribute(config.themes, config.system.pages.theme) %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="{{ grav.language.getLanguage ?: 'en' }}">
<head> <head>
{% block head %} {% block head %}
<meta charset="utf-8" /> <meta charset="utf-8" />

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="{{ grav.language.getLanguage ?: 'en' }}">
<head> <head>
{% block head %} {% block head %}
<meta charset="utf-8" /> <meta charset="utf-8" />