aboutsummaryrefslogtreecommitdiff
path: root/templates/s5.template
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-07-22 22:58:48 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2010-07-22 22:58:48 -0700
commita11b5309351cfa813face2d07cdbc32b1fa6cf0f (patch)
tree0c33dad4609baafa629218f2159f1a035eb0e2fd /templates/s5.template
parentda52412455707656e7738d110c32be2decee2dcd (diff)
downloadpandoc-a11b5309351cfa813face2d07cdbc32b1fa6cf0f.tar.gz
Moved s5 writing from S5 module to HTML.
Now s5 is handled in more or less the same way as slidy, as a variant of HTML.
Diffstat (limited to 'templates/s5.template')
-rw-r--r--templates/s5.template70
1 files changed, 70 insertions, 0 deletions
diff --git a/templates/s5.template b/templates/s5.template
new file mode 100644
index 000000000..360135244
--- /dev/null
+++ b/templates/s5.template
@@ -0,0 +1,70 @@
+<!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">
+<head>
+ <title>$if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta name="generator" content="pandoc" />
+$for(author)$
+ <meta name="author" content="$author$" />
+$endfor$
+$if(date)$
+ <meta name="date" content="$date$" />
+$endif$
+ <!-- configuration parameters -->
+ <meta name="defaultView" content="slideshow" />
+ <meta name="controlVis" content="hidden" />
+$if(highlighting-css)$
+ <style type="text/css">
+$highlighting-css$
+ </style>
+$endif$
+$for(css)$
+ <link rel="stylesheet" href="$css$" type="text/css" />
+$endfor$
+$if(s5includes)$
+$s5includes$
+$else$
+ <!-- style sheet links -->
+ <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" />
+ <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" />
+ <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" />
+ <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" />
+ <!-- S5 JS -->
+ <script src="ui/default/slides.js" type="text/javascript"></script>
+$endif$
+$if(math)$
+ $math$
+$endif$
+$for(header-includes)$
+ $header-includes$
+$endfor$
+</head>
+<body>
+$for(include-before)$
+$include-before$
+$endfor$
+<h1 class="title">$title$</h1>
+<div class="layout">
+<div id="controls"></div>
+<div id="currentSlide"></div>
+<div id="header"></div>
+<div id="footer">
+ <h1>$date$</h1>
+ <h2>$title$</h2>
+</div>
+</div>
+<div class="presentation">
+$if(title)$
+<div class="slide">
+ <h1>$title$</h1>
+ <h3>$for(author)$$author$$sep$<br/>$endfor$</h3>
+ <h4>$date$</h4>
+</div>
+$endif$
+$body$
+$for(include-after)$
+$include-after$
+$endfor$
+</div>
+</body>
+</html>