mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-26 07:46:31 +01:00
Set document language to user preference (#2369)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% if uri.extension() == 'json' %}{% include 'default.json.twig' %}{% else %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="{{ user.language|default( 'en' ) }}">
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta charset="utf-8" />
|
||||
|
||||
Reference in New Issue
Block a user