git.iko.soy/typeable/pandoc
on master help sign in
dzslides template: Use default css only if no css links specified.
5eab909John MacFarlane
default.dzslides+26−22
@@ -15,27 +15,11 @@ $highlighting-css$
15/*]]>*/
15/*]]>*/
16 </style>
16 </style>
17$endif$
17$endif$
18−<title>$title$</title>
18+$if(css)$
19−</head>
19+$for(css)$
20−<body>
20+ <link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
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$
32$endfor$
21$endfor$
33−<!-- Your Style -->
22+$else$
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−
39<style>
23<style>
40 html { background-color: black; }
24 html { background-color: black; }
41 body { background-color: white; }
25 body { background-color: white; }
@@ -88,8 +72,28 @@ $endfor$
88 .incremental > img[aria-selected] { box-shadow: 0 0 10px #000 }
72 .incremental > img[aria-selected] { box-shadow: 0 0 10px #000 }
89
73
90</style>
74</style>
91−
75+$endif$
92−
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$
93<!-- {{{{ ***************** DZSlides CORE 2.0b1 *************************** -->
97<!-- {{{{ ***************** DZSlides CORE 2.0b1 *************************** -->
94<!-- *********************************************************************** -->
98<!-- *********************************************************************** -->
95<!-- *********************************************************************** -->
99<!-- *********************************************************************** -->