th:block layout:fragment="content"

页面A
<th:block layout:fragment="xxx">
        aaaaaaaaaaaa
</th:block>
这个意思 就是将aaaa..这些内容 插入到 layouts/layout.html里的名为xxx的片断
这是layout.html里定义的片断
th:block layout:fragment="content"