]> juplo.de Git - maven-thymeleaf-skin/commitdiff
Added a default and a warning an undefined command
authorKai Moritz <kai@juplo.de>
Mon, 7 Mar 2022 21:28:29 +0000 (22:28 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 24 Oct 2025 09:28:21 +0000 (11:28 +0200)
src/main/resources/META-INF/maven/site.vm

index 39f55ec5b12949f7223d05d1bc281123fee4a501..09cef8f5181b6a2011cd5392c4dede9a3dc0a041 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 -->