aboutsummaryrefslogtreecommitdiff
path: root/templates/html.template
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-07-14 09:09:15 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2010-07-14 09:09:15 -0700
commitfa5067c462e29c82c72fce17c23822363c5e6a77 (patch)
treea6184d4fc23e064e19a41571609267ec240cc405 /templates/html.template
parent851c5e6ae28f616e38159bae7d57ea25483c4b4e (diff)
downloadpandoc-fa5067c462e29c82c72fce17c23822363c5e6a77.tar.gz
HTML template: make inclusion of date meta conditional.
Diffstat (limited to 'templates/html.template')
-rw-r--r--templates/html.template2
1 files changed, 2 insertions, 0 deletions
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; }