X-Git-Url: https://juplo.de/gitweb/?p=maven-thymeleaf-skin;a=blobdiff_plain;f=src%2Fmain%2Fresources%2FMETA-INF%2Fmaven%2Fsite.vm;fp=src%2Fmain%2Fresources%2FMETA-INF%2Fmaven%2Fsite.vm;h=75118df8bedef0d869b2e495f25bbd59f87188a4;hp=bb813051a08e88471bcdb9c0d48699718e01d369;hb=b8627ccf237dc11b958bf6038568a7978cbaede4;hpb=db6026fe273a273f2092bd05eb50ad258a3068f5 diff --git a/src/main/resources/META-INF/maven/site.vm b/src/main/resources/META-INF/maven/site.vm index bb81305..75118df 100644 --- a/src/main/resources/META-INF/maven/site.vm +++ b/src/main/resources/META-INF/maven/site.vm @@ -100,10 +100,11 @@ #end ## Custom Variablen einlesen -#set ( $sitePath = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'path' ).getValue() ) -#if ( !$sitePath ) - #set ( $sitePath = "" ) +#set ( $canonicalPath = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'path' ).getValue() ) +#if ( !$canonicalPath ) + #set ( $canonicalPath = "" ) #end +#set ( $sitePath = $canonicalPath + $project.version + "/" ) #set ( $siteCrumbs = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'crumbs' ).getValue() ) @@ -169,14 +170,15 @@ ] #set($sep = ",") #end - } + }, + "canonical": "$canonicalPath$alignedFileName" } ')}" > #if($shortTitle and $shortTitle != '')$title#else$project.name — $pages.get($alignedFileName).name#end - +

Path