layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / blog / article.html
index 82031ac..8965379 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/article.html'"
+    th:replace="~{templates/layout :: layout(uri='/blog/article.html', json='MERGE:/blog.json')}"
     >
   <head>
-    <title>juplo - blog - Combining jetty-maven-plugin and wro4j-maven-plugin for Dynamic Reloading of LESS-Resources</title>
+    <title id="title">juplo - blog - Combining jetty-maven-plugin and wro4j-maven-plugin for Dynamic Reloading of LESS-Resources</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-140" class="post-140 post type-post status-publish format-standard hentry category-jetty category-less category-maven category-wro4j">
         <div class="entry-header">
           <h1 class="entry-title">Combining jetty-maven-plugin and wro4j-maven-plugin for Dynamic Reloading of LESS-Resources</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>