git.iko.soy/typeable/pandoc
on master help sign in
Slidy template: Add $duration$ variable.

Setting this activates the timer.

commit5c3b1575ac64bc59959c9ace61aad132b914607a authorJohn MacFarlane <jgm@berkeley.edu> dateWed 6 Jul 2011, 16:56 (15 years ago) parent2ff9672
1 file changed+5−1
templates/slidy.template+5−1
templates/slidy.template+5−1
@@ -26,7 +26,8 @@ $else$
2626 href="http://www.w3.org/Talks/Tools/Slidy2/styles/slidy.css" />
2727$endif$
2828$for(css)$
29− <link rel="stylesheet" href="$css$" type="text/css" />
29+ <link rel="stylesheet" type="text/css" media="screen, projection, print"
30+ href="$css$" />
3031$endfor$
3132$if(math)$
3233 $math$
@@ -42,6 +43,9 @@ $else$
4243 <script src="http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js.gz"
4344 charset="utf-8" type="text/javascript"></script>
4445$endif$
46+$if(duration)$
47+ <meta name="duration" content="$duration$" />
48+$endif$
4549</head>
4650<body>
4751$for(include-before)$