From: Kai Moritz Date: Tue, 28 Feb 2017 16:44:20 +0000 (+0100) Subject: Replaced layout-decorator the according build-in feature of thymeleaf 3.x X-Git-Tag: maven-thymeleaf-skin-1.0.0~1 X-Git-Url: https://juplo.de/gitweb/?p=maven-thymeleaf-skin;a=commitdiff_plain;h=b62d434740f3e6989a2d6e5eb444de81d9ae57c8 Replaced layout-decorator the according build-in feature of thymeleaf 3.x Also: * Refactored the generated JSON * Made the JSON-generation more readable with the help of indentation --- diff --git a/src/main/resources/META-INF/maven/site.vm b/src/main/resources/META-INF/maven/site.vm index ca508d4..cabe610 100644 --- a/src/main/resources/META-INF/maven/site.vm +++ b/src/main/resources/META-INF/maven/site.vm @@ -118,15 +118,59 @@ - #if($shortTitle and $shortTitle != '')$title#else$project.name — $pages.get($alignedFileName).name#end + #if($shortTitle and $shortTitle != '')$title#else$project.name — $pages.get($alignedFileName).name#end @@ -138,7 +182,7 @@


-
+
$bodyContent

diff --git a/src/site/site.xml b/src/site/site.xml index 799111f..f14724a 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -24,7 +24,7 @@ /maven-thymeleaf-skin/ - +