From 44c5eaf7dba92eb46b3f9813c7c951a5dd399e9a Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 1 Jan 2018 18:33:14 -0800 Subject: transform headers html into a proper pandoc template --- content_template.pandoc | 73 +++++++++++++++++++++++++++++++++++++++++++++++++ headers.html | 24 ---------------- 2 files changed, 73 insertions(+), 24 deletions(-) create mode 100644 content_template.pandoc delete mode 100644 headers.html diff --git a/content_template.pandoc b/content_template.pandoc new file mode 100644 index 0000000..dc733b4 --- /dev/null +++ b/content_template.pandoc @@ -0,0 +1,73 @@ + + + + + + + + + + $for(css)$ + + $endfor$ + $if(math)$ + $math$ + $endif$ + $for(header-includes)$ + $header-includes$ + $endfor$ + + + $for(include-before)$ + $include-before$ + $endfor$ + $if(title)$ +
+

$title$

+ $if(subtitle)$ +

$subtitle$

+ $endif$ + $for(author)$ +

$author$

+ $endfor$ + $if(date)$ +

$date$

+ $endif$ +
+ $endif$ + $if(toc)$ +
+ $toc$ +
+ $endif$ +
+ $body$ +
+ $for(include-after)$ + $include-after$ + $endfor$ + + diff --git a/headers.html b/headers.html deleted file mode 100644 index 727dcb1..0000000 --- a/headers.html +++ /dev/null @@ -1,24 +0,0 @@ - -- cgit v1.1