Added a default and a warning an undefined command
[maven-thymeleaf-skin] / src / main / resources / META-INF / maven / site.vm
index 39f55ec..09cef8f 100644 (file)
 #set ( $sitePath = $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 = "" )
+  <!-- WARNING: configuration parameter "command" is not set -->
+#end
 
 <!-- name: $pages.get($alignedFileName).name -->
 <!-- title: $title -->