aboutsummaryrefslogtreecommitdiff
path: root/templates/html.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/html.template')
-rw-r--r--templates/html.template29
1 files changed, 7 insertions, 22 deletions
diff --git a/templates/html.template b/templates/html.template
index 820279939..bd1864ff0 100644
--- a/templates/html.template
+++ b/templates/html.template
@@ -7,27 +7,12 @@
$for(author)$
<meta name="author" content="$author$" />
$endfor$
+$if(date)$
<meta name="date" content="$date$" />
-$if(highlighting)$
+$endif$
+$if(highlighting-css)$
<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; }
- td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
- td.sourceCode { padding-left: 5px; }
- pre.sourceCode { }
- pre.sourceCode span.Normal { }
- pre.sourceCode span.Keyword { color: #007020; font-weight: bold; }
- pre.sourceCode span.DataType { color: #902000; }
- pre.sourceCode span.DecVal { color: #40a070; }
- pre.sourceCode span.BaseN { color: #40a070; }
- pre.sourceCode span.Float { color: #40a070; }
- pre.sourceCode span.Char { color: #4070a0; }
- pre.sourceCode span.String { color: #4070a0; }
- pre.sourceCode span.Comment { color: #60a0b0; font-style: italic; }
- pre.sourceCode span.Others { color: #007020; }
- pre.sourceCode span.Alert { color: red; font-weight: bold; }
- pre.sourceCode span.Function { color: #06287e; }
- pre.sourceCode span.RegionMarker { }
- pre.sourceCode span.Error { color: red; font-weight: bold; }
+$highlighting-css$
</style>
$endif$
$for(css)$
@@ -41,12 +26,12 @@ $for(header-includes)$
$endfor$
</head>
<body>
-$if(title)$
-<h1 class="title">$title$</h1>
-$endif$
$for(include-before)$
$include-before$
$endfor$
+$if(title)$
+<h1 class="title">$title$</h1>
+$endif$
$if(toc)$
$toc$
$endif$