From b62d434740f3e6989a2d6e5eb444de81d9ae57c8 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 28 Feb 2017 17:44:20 +0100 Subject: [PATCH] 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 --- src/main/resources/META-INF/maven/site.vm | 58 ++++++++++++++++++++--- src/site/site.xml | 2 +- 2 files changed, 52 insertions(+), 8 deletions(-) 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/ - + -- 2.20.1