maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From micha...@apache.org
Subject svn commit: r1768207 - /maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
Date Sat, 05 Nov 2016 12:23:08 GMT
Author: michaelo
Date: Sat Nov  5 12:23:08 2016
New Revision: 1768207

URL: http://svn.apache.org/viewvc?rev=1768207&view=rev
Log:
[MSKINS-132] Add option to skip adding the Date-Revision meta header

Modified:
    maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm

Modified: maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm?rev=1768207&r1=1768206&r2=1768207&view=diff
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm (original)
+++ maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm Sat Nov
 5 12:23:08 2016
@@ -17,12 +17,12 @@
 ## under the License.
 #parse( "site-macros.vm" )
 <!--
-#* *##set ( $skipGenerationDate = 'false')
+#* *##set ( $skipGenerationDate = false)
 #* *##if ( $decoration.custom.getChild( 'fluidoSkin' ) && $decoration.custom.getChild(
'fluidoSkin' ).getChild('skipGenerationDate')
            && $decoration.custom.getChild( 'fluidoSkin' ).getChild('skipGenerationDate').getValue()=='true')
-#*   *##set ( $skipGenerationDate = 'true')
+#*   *##set ( $skipGenerationDate = true)
 #* *##end
- | Generated by Apache Maven Doxia Site Renderer#if( $doxiaSiteRendererVersion ) $doxiaSiteRendererVersion#end
#if ($skipGenerationDate == 'false')at $dateFormat.format( $currentDate ) #end
+ | Generated by Apache Maven Doxia Site Renderer#if( $doxiaSiteRendererVersion ) $doxiaSiteRendererVersion#end
#if (!$skipGenerationDate)at $dateFormat.format( $currentDate ) #end
 
  | Rendered using Apache Maven Fluido Skin @project.version@
 -->
@@ -38,7 +38,7 @@
 #if ( $dateCreation )
     <meta name="Date-Creation-yyyymmdd" content="$dateCreation" />
 #end
-#if ( $dateRevision )
+#if ( $dateRevision && !$skipGenerationDate )
     <meta name="Date-Revision-yyyymmdd" content="$dateRevision" />
 #end
 #if ( $locale )



Mime
View raw message