revealjs template - include pdf css stylesheet by default.

This commit is contained in:
John MacFarlane 2013-03-24 19:57:13 -07:00
parent 1bf5dd6a2b
commit 118f79db5a

View file

@ -27,12 +27,7 @@ $endfor$
$else$ $else$
<link rel="stylesheet" href="$revealjs-url$/css/theme/simple.css" id="theme"> <link rel="stylesheet" href="$revealjs-url$/css/theme/simple.css" id="theme">
$endif$ $endif$
<!-- If the query includes 'print-pdf', use the PDF print sheet --> <link rel="stylesheet" media="print" href="$revealjs-url$/css/print/pdf.css" />
<script>
document.write( '<link rel="stylesheet" href="$revealjs-url$/css/print/' +
( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) +
'.css" type="text/css" media="print">' );
</script>
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="$revealjs-url$/lib/js/html5shiv.js"></script> <script src="$revealjs-url$/lib/js/html5shiv.js"></script>
<![endif]--> <![endif]-->