git.iko.soy/typeable/pandoc
on master help sign in
dzslides template: Use default css only if no css links specified.
commit5eab90928ae17b6b371f660cfe7aa1dd4a29a3f1 authorJohn MacFarlane <fiddlosopher@gmail.com> dateSat 1 Oct 2011, 23:40 (15 years ago) parente71b927
1 file changed+26−22
default.dzslides+26−22
default.dzslides+26−22
@@ -15,27 +15,11 @@ $highlighting-css$
1515/*]]>*/
1616 </style>
1717$endif$
18−<title>$title$</title>
19−</head>
20−<body>
21−$if(title)$
22−<section>
23− <h1>$title$</h1>
24−</section>
25−$endif$
26−$for(include-before)$
27−$include-before$
28−$endfor$
29−$body$
30−$for(include-after)$
31−$include-after$
18+$if(css)$
19+$for(css)$
20+ <link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
3221$endfor$
33−<!-- Your Style -->
34−<!-- Define the style of you presentation -->
35−
36−<!-- Maybe a font from http://www.google.com/webfonts ? -->
37−<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet'>
38−
22+$else$
3923<style>
4024 html { background-color: black; }
4125 body { background-color: white; }
@@ -88,8 +72,28 @@ $endfor$
8872 .incremental > img[aria-selected] { box-shadow: 0 0 10px #000 }
8973
9074</style>
91−
92−
75+$endif$
76+$if(math)$
77+ $math$
78+$endif$
79+$for(header-includes)$
80+ $header-includes$
81+$endfor$
82+<title>$title$</title>
83+</head>
84+<body>
85+$if(title)$
86+<section>
87+ <h1>$title$</h1>
88+</section>
89+$endif$
90+$for(include-before)$
91+$include-before$
92+$endfor$
93+$body$
94+$for(include-after)$
95+$include-after$
96+$endfor$
9397<!-- {{{{ ***************** DZSlides CORE 2.0b1 *************************** -->
9498<!-- *********************************************************************** -->
9599<!-- *********************************************************************** -->