dzslides template: Use default css only if no css links specified.

This commit is contained in:
John MacFarlane 2011-10-01 23:40:56 -07:00
parent e71b927a32
commit 5eab90928a

View file

@ -15,27 +15,11 @@ $highlighting-css$
/*]]>*/ /*]]>*/
</style> </style>
$endif$ $endif$
<title>$title$</title> $if(css)$
</head> $for(css)$
<body> <link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
$if(title)$
<section>
<h1>$title$</h1>
</section>
$endif$
$for(include-before)$
$include-before$
$endfor$ $endfor$
$body$ $else$
$for(include-after)$
$include-after$
$endfor$
<!-- Your Style -->
<!-- Define the style of you presentation -->
<!-- Maybe a font from http://www.google.com/webfonts ? -->
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet'>
<style> <style>
html { background-color: black; } html { background-color: black; }
body { background-color: white; } body { background-color: white; }
@ -88,8 +72,28 @@ $endfor$
.incremental > img[aria-selected] { box-shadow: 0 0 10px #000 } .incremental > img[aria-selected] { box-shadow: 0 0 10px #000 }
</style> </style>
$endif$
$if(math)$
$math$
$endif$
$for(header-includes)$
$header-includes$
$endfor$
<title>$title$</title>
</head>
<body>
$if(title)$
<section>
<h1>$title$</h1>
</section>
$endif$
$for(include-before)$
$include-before$
$endfor$
$body$
$for(include-after)$
$include-after$
$endfor$
<!-- {{{{ ***************** DZSlides CORE 2.0b1 *************************** --> <!-- {{{{ ***************** DZSlides CORE 2.0b1 *************************** -->
<!-- *********************************************************************** --> <!-- *********************************************************************** -->
<!-- *********************************************************************** --> <!-- *********************************************************************** -->