diff --git a/templates/html.template b/templates/html.template
index 1d07a2cfb..c53bbf6d7 100644
--- a/templates/html.template
+++ b/templates/html.template
@@ -7,7 +7,9 @@
 $for(author)$
   <meta name="author" content="$author$" />
 $endfor$
+$if(date)$
   <meta name="date" content="$date$" />
+$endif$
 $if(highlighting)$
   <style type="text/css">
     table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; }