Dynamic set the html lang attribute

This commit is contained in:
Saud Fatayerji
2023-02-06 14:19:31 +03:00
committed by Anthony Stirling
parent 83bd2d5915
commit 90ef6deca8
14 changed files with 14 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<th:block th:insert="~{fragments/common :: head(title=#{pdfOrganiser.title})}"></th:block>