Локаль через дефис для тега html

master
Антон Касимов 2019-05-22 22:23:19 +03:00
parent dbde097865
commit 1882248d5e
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{%- import 'macros.jinja2' as macros -%} {%- import 'macros.jinja2' as macros -%}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{request.locale_name}}"> <html lang="{{request.locale_name.replace('_', '-')}}">
<head> <head>
{%- block head %} {%- block head %}
<title>{{title}}</title> <title>{{title}}</title>