diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-10-01 23:40:56 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-10-01 23:40:56 -0700 |
commit | 5eab90928ae17b6b371f660cfe7aa1dd4a29a3f1 (patch) | |
tree | b496aaae1e19a72bbea70db1f35be873e4412bc1 | |
parent | e71b927a32d1f923e4efc7a255de7525c784bdfa (diff) | |
download | pandoc-5eab90928ae17b6b371f660cfe7aa1dd4a29a3f1.tar.gz |
dzslides template: Use default css only if no css links specified.
-rw-r--r-- | default.dzslides | 48 |
1 files 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$ /*]]>*/ </style> $endif$ -<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$ +$if(css)$ +$for(css)$ + <link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/> $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'> - +$else$ <style> html { background-color: black; } body { background-color: white; } @@ -88,8 +72,28 @@ $endfor$ .incremental > img[aria-selected] { box-shadow: 0 0 10px #000 } </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 *************************** --> <!-- *********************************************************************** --> <!-- *********************************************************************** --> |