WIP
[maven-thymeleaf-skin] / src / main / resources / META-INF / maven / site.vm
index d01dfec..e382058 100644 (file)
 <!--*/-->
 <html
     xmlns="http://www.w3.org/1999/xhtml"
-    xmlns:layout="http://www.thymeleaf.org"
-    layout:decorator="templates/layout"
-    th:with="
+    th:replace="~{/templates/layout.html :: layout(
       uri='$sitePath$alignedFileName',
       json='MERGE:
 {
       #end]
     #end}
 }
-      '"
+      ')}"
     >
   <head>
-    <title>#if($shortTitle and $shortTitle != '')$title#else$project.name &mdash; $pages.get($alignedFileName).name#end</title>
+    <title id="title">#if($shortTitle and $shortTitle != '')$title#else$project.name &mdash; $pages.get($alignedFileName).name#end</title>
     <meta http-equiv="Content-Type" content="text/html; charset=${outputEncoding}" />
     <link rel="canonical" href="$sitePath$alignedFileName"/>
   </head>
       </ol>
     </p>
     <hr />
-    <article class="main" layout:fragment="maincontent">
+    <article class="maincontent">
       $bodyContent
     </article>
     <hr />