主页面
<head th:include="common/fragments ::head
((${userType == 'teacher'})? '教师版':(${userType == 'parent'}?'家长版':'学生版'))">
</head>
被引入的页面
<head th:fragment="head(title)">
<meta charset="UTF-8">
<title th:text="${title}"></title>
</head>
<head th:include="common/fragments ::head
((${userType == 'teacher'})? '教师版':(${userType == 'parent'}?'家长版':'学生版'))"></head>
<head th:fragment="head(title)">
<meta charset="UTF-8">
<title th:text="${title}"></title>
</head>