X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2FMETA-INF%2Fmaven%2Fsite.vm;h=7aecf983468b50dec223f05b250a133b50848ddd;hb=HEAD;hp=39f55ec5b12949f7223d05d1bc281123fee4a501;hpb=676ea22c20f303f84050852b67592091c00054ed;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 39f55ec..7aecf98 100644 --- a/src/main/resources/META-INF/maven/site.vm +++ b/src/main/resources/META-INF/maven/site.vm @@ -118,13 +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