michael-o commented on code in PR #136: URL: https://github.com/apache/maven-doxia-sitetools/pull/136#discussion_r1564900683
########## doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java: ########## @@ -498,6 +503,16 @@ protected Context createDocumentVelocityContext( context.put("doxiaSiteRendererVersion", DOXIA_SITE_RENDERER_VERSION); } + String doxiaSourcePath = docRenderingContext.getDoxiaSourcePath(); + if (doxiaSourcePath != null) { + Path path = Paths.get(doxiaSourcePath); + try { + FileTime lastModifiedTime = Files.getLastModifiedTime(path); + context.put("lastModificationDate", new Date(lastModifiedTime.toMillis())); Review Comment: This should be the canonical term: "lastModifiedDate" -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org