This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git


The following commit(s) were added to refs/heads/master by this push:
     new 140dbd5  Write the document date as <meta name="dcterms.date">
140dbd5 is described below

commit 140dbd5c03b23da17a0fd07597b1bf8cf88e90dc
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 3 22:51:35 2026 +0000

    Write the document date as <meta name="dcterms.date">
---
 src/it/modification-date/verify.groovy    | 1 +
 src/main/resources/META-INF/maven/site.vm | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/it/modification-date/verify.groovy 
b/src/it/modification-date/verify.groovy
index c0f636b..3b26193 100644
--- a/src/it/modification-date/verify.groovy
+++ b/src/it/modification-date/verify.groovy
@@ -19,6 +19,7 @@
 
 File index = new File( basedir, "target/site/index.html" )
 assert index.exists()
+assert index.text.contains( '<meta name="dcterms.date" content="2011-10-15" 
/>' )
 assert index.text.contains( 'Last Modified: 2026-03-20' )
 File report = new File( basedir, "target/site/plugins.html" )
 assert report.exists()
diff --git a/src/main/resources/META-INF/maven/site.vm 
b/src/main/resources/META-INF/maven/site.vm
index 3cbabd3..baf5607 100644
--- a/src/main/resources/META-INF/maven/site.vm
+++ b/src/main/resources/META-INF/maven/site.vm
@@ -49,7 +49,7 @@
     <meta name="author" content="$esc.xml( $author )" />
 #end
 #if( $documentDate )
-    <meta name="date" content="$documentDate" />
+    <meta name="dcterms.date" content="$documentDate" />
 #end
     <title>$esc.xml( $title )</title>
     <link rel="stylesheet" 
href="$relativePath/css/[email protected][email protected]" />

Reply via email to