diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-07-22 22:18:04 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-07-22 22:18:04 -0700 |
commit | 663adaa8612242dfce8c32ae5c7afc6be45c6eb6 (patch) | |
tree | a7fabff7921c4d75645f7148b5f24d4928df1866 /default.html | |
parent | a053c6d1b072f080bb13bc1a479ac6db7dd2b154 (diff) | |
download | pandoc-663adaa8612242dfce8c32ae5c7afc6be45c6eb6.tar.gz |
Renamed templates from <writer>.template to default.<writer>.
Diffstat (limited to 'default.html')
-rw-r--r-- | default.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/default.html b/default.html new file mode 100644 index 000000000..3f8b76fed --- /dev/null +++ b/default.html @@ -0,0 +1,66 @@ +$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"> +$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> +$for(include-before)$ +$include-before$ +$endfor$ +$if(title)$ +$if(html5)$ +<header> +$endif$ +<h1 class="title">$title$</h1> +$if(html5)$ +</header> +$endif$ +$endif$ +$if(toc)$ +$toc$ +$endif$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ +</body> +</html> |