JJ Allaire | 2ec4024 | 2014-09-15 09:18:39 -0400 | [diff] [blame^] | 1 | <!DOCTYPE html> |
| 2 | <html$if(lang)$ lang="$lang$"$endif$> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <meta name="generator" content="pandoc"> |
| 6 | $for(author-meta)$ |
| 7 | <meta name="author" content="$author-meta$" /> |
| 8 | $endfor$ |
| 9 | $if(date-meta)$ |
| 10 | <meta name="dcterms.date" content="$date-meta$" /> |
| 11 | $endif$ |
| 12 | <title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title> |
| 13 | <meta name="apple-mobile-web-app-capable" content="yes" /> |
| 14 | <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> |
| 15 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> |
| 16 | <link rel="stylesheet" href="$revealjs-url$/css/reveal.min.css"/> |
| 17 | |
| 18 | <!-- some tweaks to reveal css --> |
| 19 | <style type="text/css"> |
| 20 | .reveal h1 { font-size: 2.0em; } |
| 21 | .reveal h2 { font-size: 1.5em; } |
| 22 | .reveal h3 { font-size: 1.25em; } |
| 23 | .reveal h4 { font-size: 1em; } |
| 24 | |
| 25 | .reveal .slides>section, |
| 26 | .reveal .slides>section>section { |
| 27 | padding: 0px 0px; |
| 28 | } |
| 29 | |
| 30 | $if(center)$ |
| 31 | |
| 32 | $else$ |
| 33 | .reveal .title { |
| 34 | margin-top: 125px; |
| 35 | margin-bottom: 50px; |
| 36 | } |
| 37 | $endif$ |
| 38 | |
| 39 | .reveal table { |
| 40 | border-width: 1px; |
| 41 | border-spacing: 2px; |
| 42 | border-style: dotted; |
| 43 | border-color: gray; |
| 44 | border-collapse: collapse; |
| 45 | font-size: 0.7em; |
| 46 | } |
| 47 | |
| 48 | .reveal table th { |
| 49 | border-width: 1px; |
| 50 | padding-left: 10px; |
| 51 | padding-right: 25px; |
| 52 | font-weight: bold; |
| 53 | border-style: dotted; |
| 54 | border-color: gray; |
| 55 | } |
| 56 | |
| 57 | .reveal table td { |
| 58 | border-width: 1px; |
| 59 | padding-left: 10px; |
| 60 | padding-right: 25px; |
| 61 | border-style: dotted; |
| 62 | border-color: gray; |
| 63 | } |
| 64 | |
| 65 | </style> |
| 66 | |
| 67 | <style type="text/css">code{white-space: pre;}</style> |
| 68 | |
| 69 | $if(highlightjs)$ |
| 70 | <link rel="stylesheet" |
| 71 | href="$highlightjs$/$if(highlightjs-theme)$$highlightjs-theme$$else$default$endif$.css" |
| 72 | $if(html5)$$else$type="text/css" $endif$/> |
| 73 | <script src="$highlightjs$/highlight.js"></script> |
| 74 | $endif$ |
| 75 | |
| 76 | $if(highlighting-css)$ |
| 77 | <style type="text/css"> |
| 78 | $highlighting-css$ |
| 79 | </style> |
| 80 | $endif$ |
| 81 | |
| 82 | $if(theme)$ |
| 83 | <link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme"> |
| 84 | $endif$ |
| 85 | |
| 86 | $if(theme-dark)$ |
| 87 | <style type="text/css"> |
| 88 | .reveal section img { |
| 89 | background: rgba(255, 255, 255, 0.85); |
| 90 | } |
| 91 | </style> |
| 92 | $endif$ |
| 93 | |
| 94 | $if(css)$ |
| 95 | $for(css)$ |
| 96 | <link rel="stylesheet" href="$css$"/> |
| 97 | $endfor$ |
| 98 | $endif$ |
| 99 | <!-- If the query includes 'print-pdf', include the PDF print sheet --> |
| 100 | <script> |
| 101 | if( window.location.search.match( /print-pdf/gi ) ) { |
| 102 | var link = document.createElement( 'link' ); |
| 103 | link.rel = 'stylesheet'; |
| 104 | link.type = 'text/css'; |
| 105 | link.href = '$revealjs-url$/css/print/pdf.css'; |
| 106 | document.getElementsByTagName( 'head' )[0].appendChild( link ); |
| 107 | } |
| 108 | </script> |
| 109 | <!--[if lt IE 9]> |
| 110 | <script src="$revealjs-url$/lib/js/html5shiv.js"></script> |
| 111 | <![endif]--> |
| 112 | |
| 113 | $for(header-includes)$ |
| 114 | $header-includes$ |
| 115 | $endfor$ |
| 116 | </head> |
| 117 | <body> |
| 118 | $for(include-before)$ |
| 119 | $include-before$ |
| 120 | $endfor$ |
| 121 | <div class="reveal"> |
| 122 | <div class="slides"> |
| 123 | |
| 124 | $if(title)$ |
| 125 | <section> |
| 126 | <h1 class="title">$title$</h1> |
| 127 | $if(subtitle)$ |
| 128 | <h1 class="subtitle">$subtitle$</h1> |
| 129 | $endif$ |
| 130 | $for(author)$ |
| 131 | <h2 class="author">$author$</h2> |
| 132 | $endfor$ |
| 133 | <h3 class="date">$date$</h3> |
| 134 | </section> |
| 135 | $endif$ |
| 136 | $if(toc)$ |
| 137 | <section id="$idprefix$TOC"> |
| 138 | $toc$ |
| 139 | </section> |
| 140 | $endif$ |
| 141 | |
| 142 | $body$ |
| 143 | </div> |
| 144 | </div> |
| 145 | $for(include-after)$ |
| 146 | $include-after$ |
| 147 | $endfor$ |
| 148 | |
| 149 | <script src="$revealjs-url$/lib/js/head.min.js"></script> |
| 150 | <script src="$revealjs-url$/js/reveal.min.js"></script> |
| 151 | |
| 152 | <script> |
| 153 | |
| 154 | // Full list of configuration options available here: |
| 155 | // https://github.com/hakimel/reveal.js#configuration |
| 156 | Reveal.initialize({ |
| 157 | controls: true, |
| 158 | progress: true, |
| 159 | history: true, |
| 160 | center: $if(center)$true$else$false$endif$, |
| 161 | transition: '$transition$', |
| 162 | |
| 163 | // Optional libraries used to extend on reveal.js |
| 164 | dependencies: []}); |
| 165 | </script> |
| 166 | |
| 167 | $if(mathjax-url)$ |
| 168 | <!-- dynamically load mathjax for compatibility with self-contained --> |
| 169 | <script> |
| 170 | (function () { |
| 171 | var script = document.createElement("script"); |
| 172 | script.type = "text/javascript"; |
| 173 | script.src = "$mathjax-url$"; |
| 174 | document.getElementsByTagName("head")[0].appendChild(script); |
| 175 | })(); |
| 176 | </script> |
| 177 | $endif$ |
| 178 | |
| 179 | </body> |
| 180 | </html> |