melpa/html/template.html

90 lines
2 KiB
HTML
Raw Normal View History

2012-01-22 20:28:13 +00:00
$if(html5)$
<!DOCTYPE html>
<html$if(lang)$ lang="$lang$"$endif$>
$else$
<!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$>
$endif$
<head>
$if(html5)$
<meta charset="utf-8" />
$else$
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
$endif$
<meta name="generator" content="pandoc" />
$for(author)$
<meta name="author" content="$author$" />
$endfor$
$if(date)$
<meta name="date" content="$date$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$</title>
$if(html5)$
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
$endif$
$if(highlighting-css)$
<style type="text/css">
/*<![CDATA[*/
$highlighting-css$
/*]]>*/
</style>
$endif$
$for(css)$
<link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
$endfor$
$if(math)$
$if(html5)$
$else$
$math$
$endif$
$endif$
$for(header-includes)$
$header-includes$
$endfor$
</head>
<body>
<a href="http://github.com/milkypostman/melpa"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://a248.e.akamai.net/assets.github.com/img/71eeaab9d563c2b3c590319b398dd35683265e85/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub"></a>
<div id="container">
2012-01-22 20:28:13 +00:00
$for(include-before)$
$include-before$
$endfor$
$if(title)$
$if(html5)$
<header>
$else$
<div id="$idprefix$header">
$endif$
<h1 class="title">$title$</h1>
$for(author)$
<h3 class="author">$author$</h3>
$endfor$
$if(date)$
<h4 class="date">$date$</h4>
$endif$
$if(html5)$
</header>
$else$
</div>
$endif$
$endif$
$if(toc)$
$if(html5)$
<nav id="$idprefix$TOC">
$toc$
</nav>
$else$
<div id="$idprefix$TOC">
$toc$
</div>
$endif$
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$
</div>
</body>
</html>