From 5eab90928ae17b6b371f660cfe7aa1dd4a29a3f1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 1 Oct 2011 23:40:56 -0700 Subject: [PATCH] dzslides template: Use default css only if no css links specified. --- default.dzslides | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/default.dzslides b/default.dzslides index e09c32b40..1de2aab8a 100644 --- a/default.dzslides +++ b/default.dzslides @@ -15,27 +15,11 @@ $highlighting-css$ /*]]>*/ $endif$ -$title$ - - -$if(title)$ -
-

$title$

-
-$endif$ -$for(include-before)$ -$include-before$ +$if(css)$ +$for(css)$ + $endfor$ -$body$ -$for(include-after)$ -$include-after$ -$endfor$ - - - - - - +$else$ - - +$endif$ +$if(math)$ + $math$ +$endif$ +$for(header-includes)$ + $header-includes$ +$endfor$ +$title$ + + +$if(title)$ +
+

$title$

+
+$endif$ +$for(include-before)$ +$include-before$ +$endfor$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$