File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/main/resources/templates Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2
2
< html xmlns ="http://www.w3.org/1999/xhtml "
3
3
xmlns:th ="http://www.thymeleaf.org " lang ="en-US "
4
4
xmlns:layout ="http://www.ultraq.net.nz/thymeleaf/layout "
5
- layout: decorate ="layout ">
5
+ data- layout- decorate ="layout ">
6
6
< head >
7
7
< meta charset ="UTF-8 "/>
8
8
< title > Welcome</ title >
11
11
</ script >
12
12
</ head >
13
13
< body >
14
- < div layout: fragment ="content ">
14
+ < div data- layout- fragment ="content ">
15
15
goood22223333
16
16
</ div >
17
- < br />
18
17
</ body >
19
18
</ html >
Original file line number Diff line number Diff line change 10
10
< header >
11
11
< h1 > My website2</ h1 >
12
12
</ header >
13
- < section layout: fragment ="content ">
13
+ < section data- layout- fragment ="content ">
14
14
< p > Page content goes here</ p >
15
15
</ section >
16
16
</ body >
You can’t perform that action at this time.
0 commit comments