Answer the question
In order to leave comments, you need to log in
Is it possible to specify default layout:decorate in thymeleaf?
Hello.
Actually, such a question.
Spring 5 + Thymeleaf
Is it possible to specify one global "top-level html" for the application, as if all views have it
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{default_layout}">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question