aboutsummaryrefslogtreecommitdiff
path: root/templates/html.template
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:14:27 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:14:27 +0000
commit22dcf7afdd7ea4508d9b739a3b48138022d361e6 (patch)
treeaab5c84a315c22df1cf91c1143f1469b92a600d0 /templates/html.template
parent275a740624d181630abf120fe39c4f5a8d284a19 (diff)
downloadpandoc-22dcf7afdd7ea4508d9b739a3b48138022d361e6.tar.gz
Tweaked templates and tests.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1711 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates/html.template')
-rw-r--r--templates/html.template34
1 files changed, 16 insertions, 18 deletions
diff --git a/templates/html.template b/templates/html.template
index 45eb225ef..129febb03 100644
--- a/templates/html.template
+++ b/templates/html.template
@@ -1,14 +1,12 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>
- $if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$
- </title>
+ <title>$if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="pandoc" />
<meta name="author" content="$authors$" />
<meta name="date" content="$date$" />
- $if(highlighting)$
+$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; }
td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
@@ -29,21 +27,21 @@
pre.sourceCode span.RegionMarker { }
pre.sourceCode span.Error { color: red; font-weight: bold; }
</style>
- $endif$
- $if(header-includes)$
- $header-includes$
- $endif$
- $if(latexmathml-script)$
- $latexmathml-script$
- $endif$
+$endif$
+$if(header-includes)$
+ $header-includes$
+$endif$
+$if(latexmathml-script)$
+ $latexmathml-script$
+$endif$
</head>
<body>
- $if(title)$
- <h1 class="title">$title$</h1>
- $endif$
- $if(toc)$
- $toc$
- $endif$
- $body$
+$if(title)$
+<h1 class="title">$title$</h1>
+$endif$
+$if(toc)$
+$toc$
+$endif$
+$body$
</body>
</html>