aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-07-22 21:50:17 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2010-07-22 21:50:53 -0700
commitc5ed016616e1e6fef1801c98ef61a5eae6a3af55 (patch)
tree993b4456dd185060bc4edd84e2077b49d0fdd6d8 /templates
parent5fd13892634b70c83ac4873e97f983bd3e491638 (diff)
downloadpandoc-c5ed016616e1e6fef1801c98ef61a5eae6a3af55.tar.gz
Added new --offline option for slidy.
Added slidy/slidy.min.{css,js}.
Diffstat (limited to 'templates')
-rw-r--r--templates/slidy.template16
1 files changed, 14 insertions, 2 deletions
diff --git a/templates/slidy.template b/templates/slidy.template
index 48dc61846..f625c36e2 100644
--- a/templates/slidy.template
+++ b/templates/slidy.template
@@ -20,16 +20,28 @@ $endif$
$for(css)$
<link rel="stylesheet" href="$css$" type="text/css" />
$endfor$
+$if(slidy-css)$
+ <style type="text/css">
+$slidy-css$
+ </style>
+$else$
<link rel="stylesheet" type="text/css" media="screen, projection, print"
- href="http://www.w3.org/Talks/Tools/Slidy/slidy.css" />
+ href="http://www.w3.org/Talks/Tools/Slidy/slidy.css" />
+$endif$
$if(math)$
$math$
$endif$
$for(header-includes)$
$header-includes$
$endfor$
+$if(slidy-js)$
+ <script type="text/javascript" charset="utf-8">
+$slidy-js$
+ </script>
+$else$
<script src="http://www.w3.org/Talks/Tools/Slidy/slidy.js.gz"
- charset="utf-8" type="text/javascript"></script>
+ charset="utf-8" type="text/javascript"></script>
+$endif$
</head>
<body>
$for(include-before)$