Kanonische Links über _canonical realisiert
[website] / dist / templates / testlab.html
index 73fff72..4eecf1a 100644 (file)
@@ -2,10 +2,10 @@
 <html
     xmlns="http://www.w3.org/1999/xhtml"
     xmlns:th="http://www.thymeleaf.org"
-    xmlns:layout="http://www.thymeleaf.org"
+    th:fragment="testlab"
     >
   <head>
-    <title th:replace="/templates/layout.html :: head">juplo - TESTLABTEMPLATE</title>
+    <title th:replace="~{::#title}">juplo - TESTLABTEMPLATE</title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
     <style type="text/css">
 
@@ -62,7 +62,7 @@
       <div class="testlab tl670">670px
         <div class="testlab tl480">480px
           <div class="testlab tl320">320px
-            <strong layout:fragment="content">CONTENT</strong>
+            <strong th:replace="~{::.content}">CONTENT</strong>
           </div>
         </div>
       </div>