summaryrefslogtreecommitdiff
path: root/content_template.pandoc
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-07-14 14:11:47 -0700
committeriximeow <me@iximeow.net>2024-07-14 14:11:47 -0700
commit2dc28a68f04c92adecefb05bbe8fa1ebb24d4189 (patch)
tree6b5f656d81de77f138cfa5d06eef5d116736de06 /content_template.pandoc
parent4d7e9a5a41e769b2548cfae26c7472a01b3246e3 (diff)
normalize headings, include tocHEADmaster
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)$