layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / blog / comments.html
index 470e1e0..b651d71 100644 (file)
@@ -1,12 +1,10 @@
 <!DOCTYPE html>
 <html
     xmlns="http://www.w3.org/1999/xhtml"
-    xmlns:layout="http://www.thymeleaf.org"
-    layout:decorator="templates/layout"
-    th:with="uri='/blog/comments.html'"
+    th:replace="~{templates/layout :: layout(uri='/blog/comments.html', json='MERGE:/blog.json')}"
     >
   <head>
-    <title>juplo - blog - hibernate4-maven-plugin</title>
+    <title id="title">juplo - blog - hibernate4-maven-plugin</title>
     <!--/*-->
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <link rel="stylesheet" type="text/css" href="../css/base.css"/>
@@ -14,8 +12,8 @@
     <link rel="stylesheet" type="text/css" href="../css/print.css" media="print"/>
     <!--*/-->
   </head>
-  <body thymeproxy:variables="MERGE:/blog.json">
-    <article class="main" layout:fragment="maincontent">
+  <body>
+    <article class="maincontent">
       <article id="post-34" class="post-34 post type-post status-publish format-standard hentry category-hibernate category-java category-maven">
         <div class="entry-header">
           <h1 class="entry-title">hibernate4-maven-plugin</h1>
         </form>
       </div>
     </article>
-    <aside layout:fragment="marginalcontent">
+    <aside class="marginalcontent">
       <div id="secondary" class="widget-area" role="complementary">
         <aside id="archives" class="widget">
           <h1 class="widget-title">Archives</h1>