- xmlns:layout="http://www.thymeleaf.org"
- layout:decorator="templates/layout"
- th:with="uri='/templates/error.html', contentclass='nomenu'"
+ th:replace="~{/templates/layout.html :: layout(
+ uri='/templates/error.html',
+ title=~{:: title},
+ maincontent=~{:: .maincontent},
+ marginalcontent=~{:: .marginalcontent}, contentclass='nomenu')}"