<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="layout">
  <head>
    <title layout:fragment="title">Content</title>
  </head>
  <body>
    <div layout:fragment="content">
    	<span th:text="${foo}">foo</span>
    </div>
  </body>
</html>