diff options
-rw-r--r-- | content_template.pandoc | 73 | ||||
-rw-r--r-- | headers.html | 24 |
2 files changed, 73 insertions, 24 deletions
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 @@ +<!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"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Style-Type" content="text/css" /> + <meta name="generator" content="pandoc" /> + + <style> + body { background-color: #d7d7dd; } + .content { + margin: auto; + width: 80% + } + /* colors pulled from my current terminal config */ + .codebox .black { color: #2e3436; } + .codebox .red { color: #cc0000; } + .codebox .green { color: #4e9a06; } + .codebox .yellow { color: #c4a000; } + .codebox .blue { color: #3465a4; } + .codebox .purple { color: #75507b; } + .codebox .cyan { color: #06989a; } + .codebox .white { color: #d3d7cf; } + .codebox { + /* terminal foreground */ + color: #d3d7cf; + max-height: 512px; + overflow: auto; + /* terminal background */ + background: #171717; + } + </style> + + $for(css)$ + <link rel="stylesheet" href="$css$" type="text/css" /> + $endfor$ + $if(math)$ + $math$ + $endif$ + $for(header-includes)$ + $header-includes$ + $endfor$ + </head> + <body> + $for(include-before)$ + $include-before$ + $endfor$ + $if(title)$ + <div id="$idprefix$header"> + <h1 class="title">$title$</h1> + $if(subtitle)$ + <h1 class="subtitle">$subtitle$</h1> + $endif$ + $for(author)$ + <h2 class="author">$author$</h2> + $endfor$ + $if(date)$ + <h3 class="date">$date$</h3> + $endif$ + </div> + $endif$ + $if(toc)$ + <div id="$idprefix$TOC"> + $toc$ + </div> + $endif$ + <div class="content"> + $body$ + </div> + $for(include-after)$ + $include-after$ + $endfor$ + </body> +</html> diff --git a/headers.html b/headers.html deleted file mode 100644 index 727dcb1..0000000 --- a/headers.html +++ /dev/null @@ -1,24 +0,0 @@ -<style> -body { background-color: #d7d7dd; } -.content { - margin: auto; - width: 80% -} -/* colors pulled from my current terminal config */ -.codebox .black { color: #2e3436; } -.codebox .red { color: #cc0000; } -.codebox .green { color: #4e9a06; } -.codebox .yellow { color: #c4a000; } -.codebox .blue { color: #3465a4; } -.codebox .purple { color: #75507b; } -.codebox .cyan { color: #06989a; } -.codebox .white { color: #d3d7cf; } -.codebox { - /* terminal foreground */ - color: #d3d7cf; - max-height: 512px; - overflow: auto; - /* terminal background */ - background: #171717; -} -</style> |