X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2FMETA-INF%2Fmaven%2Fsite.vm;h=7aecf983468b50dec223f05b250a133b50848ddd;hb=811c8193632cb1768f159cdf8ac2819439f5dc9e;hp=7f1a87a1d85d1a53eed89034451852f4f01bb94a;hpb=18264996e6b581927eba843ec128ad93b18c0d4f;p=maven-thymeleaf-skin diff --git a/src/main/resources/META-INF/maven/site.vm b/src/main/resources/META-INF/maven/site.vm index 7f1a87a..7aecf98 100644 --- a/src/main/resources/META-INF/maven/site.vm +++ b/src/main/resources/META-INF/maven/site.vm @@ -118,12 +118,22 @@ #end ## Custom Variablen einlesen +#set ( $pathPrefix = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'prefix' ).getValue() ) +#if ( !$pathPrefix ) + #set ( $pathPrefix = "" ) +#end #set ( $canonicalPath = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'path' ).getValue() ) #if ( !$canonicalPath ) #set ( $canonicalPath = "" ) + #end -#set ( $sitePath = $canonicalPath + $project.version + "/" ) +#set ( $sitePath = $pathPrefix + $canonicalPath + $project.version + "/" ) #set ( $siteCrumbs = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'crumbs' ).getValue() ) +#set ( $command = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'command' ).getValue() ) +#if ( !$command ) + #set ( $command = "" ) + +#end @@ -135,13 +145,7 @@ - + $title @@ -149,6 +153,12 @@

$shortTitle

+

URI

+

Path