layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / blog.html
index 529032c..d15ec74 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.html'"
+    th:replace="~{templates/layout :: layout(uri='/blog.html', json='MERGE:/blog.json')}"
     >
   <head>
-    <title>Blog</title>
+    <title id="title">Blog</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">
-    <main class="main" layout:fragment="maincontent">
+  <body>
+    <main class="maincontent">
       <article id="post-140" class="post-140 post type-post status-publish format-standard hentry category-jetty category-less category-maven category-wro4j">
         <header class="entry-header">
           <h2 class="entry-title"><a href="http://juplo.de/combining-jetty-maven-plugin-and-wro4j-maven-plugin-for-dynamic-reloading-of-less-resources/" title="Permalink to Combining jetty-maven-plugin and wro4j-maven-plugin for Dynamic Reloading of LESS-Resources" rel="bookmark">Combining jetty-maven-plugin and wro4j-maven-plugin for Dynamic Reloading of LESS-Resources</a></h2>
         </footer><!-- .entry-meta -->
       </article><!-- #post-34 -->
     </main>
-    <div layout:fragment="marginalcontent">
+    <div class="marginalcontent">
       <div id="secondary" class="widget-area" role="complementary">
         <aside id="archives" class="widget">
           <h1 class="widget-title">Archives</h1>
       <div id="tertiary" class="widget-area" role="supplementary">
       </div><!-- #tertiary .widget-area -->
     </div>
-    <ul layout:fragment="footer">
-    </ul>
   </body>
 </html>