X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2FMETA-INF%2Fmaven%2Fsite.vm;h=7aecf983468b50dec223f05b250a133b50848ddd;hb=HEAD;hp=3e84b93b0c8f35964b6abcb1304e62558ce7b507;hpb=b4042b51cd8298dd6947a6e49dd33c653d6f94eb;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 3e84b93..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