From: Kai Moritz Date: Sun, 28 Feb 2021 20:27:21 +0000 (+0100) Subject: Added title and short title as selectable content X-Git-Tag: maven-thymeleaf-skin-1.1.0~4 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=18264996e6b581927eba843ec128ad93b18c0d4f;p=maven-thymeleaf-skin Added title and short title as selectable content --- diff --git a/src/main/resources/META-INF/maven/site.vm b/src/main/resources/META-INF/maven/site.vm index b81690c..7f1a87a 100644 --- a/src/main/resources/META-INF/maven/site.vm +++ b/src/main/resources/META-INF/maven/site.vm @@ -143,11 +143,12 @@ maincontent=~{:: .maincontent}, json='MERGE:' + ~{:: pre[class='json']/text()})}" > - #if($shortTitle and $shortTitle != '')$title#else$project.name — $pages.get($alignedFileName).name#end + $title +

$shortTitle

Path