mirror of
				https://github.com/getgrav/grav-plugin-admin.git
				synced 2025-10-31 18:35:57 +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 %} | {% if uri.extension() == 'json' %}{% include 'default.json.twig' %}{% else %} | ||||||
|     <!DOCTYPE html> |     <!DOCTYPE html> | ||||||
|     <html lang="en"> |     <html lang="{{ user.language|default( 'en' ) }}"> | ||||||
|     <head> |     <head> | ||||||
|     {% block head %} |     {% block head %} | ||||||
|         <meta charset="utf-8" /> |         <meta charset="utf-8" /> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user