X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2FMETA-INF%2Fmaven%2Fsite.vm;fp=src%2Fmain%2Fresources%2FMETA-INF%2Fmaven%2Fsite.vm;h=7aecf983468b50dec223f05b250a133b50848ddd;hb=811c8193632cb1768f159cdf8ac2819439f5dc9e;hp=09cef8f5181b6a2011cd5392c4dede9a3dc0a041;hpb=753d1e2bee20a13cc2e6a46f169ca3bfdf93845a;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 09cef8f..7aecf98 100644 --- a/src/main/resources/META-INF/maven/site.vm +++ b/src/main/resources/META-INF/maven/site.vm @@ -118,11 +118,16 @@ #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 )