summaryrefslogtreecommitdiff
path: root/content_template.pandoc
diff options
context:
space:
mode:
Diffstat (limited to 'content_template.pandoc')
-rw-r--r--content_template.pandoc6
1 files changed, 5 insertions, 1 deletions
diff --git a/content_template.pandoc b/content_template.pandoc
index 967387e..713ce51 100644
--- a/content_template.pandoc
+++ b/content_template.pandoc
@@ -5,6 +5,10 @@
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
+ $if(title)$
+ <title>$title$</title>
+ $endif$
+
<style>
:target {
background: yellow;
@@ -129,6 +133,7 @@
$for(include-before)$
$include-before$
$endfor$
+<div class="content">
$if(title)$
<div id="$idprefix$header">
<h1 class="title">$title$</h1>
@@ -148,7 +153,6 @@ $if(toc)$
$toc$
</div>
$endif$
-<div class="content">
$body$
</div>
$for(include-after)$