aboutsummaryrefslogtreecommitdiff
path: root/template.html
diff options
context:
space:
mode:
authorEric Bidelman2012-04-14 18:43:06 -0700
committerEric Bidelman2012-04-14 18:43:06 -0700
commit04153b7c8a3332c8008408227f6d71b8ef392c35 (patch)
treee509dace2cc9e441b7bd8f5793d422823c86de74 /template.html
parent7054806c29c3eae0ed4b4176047b92bddcdcd0cc (diff)
downloadio-slides-remote-04153b7c8a3332c8008408227f6d71b8ef392c35.tar.gz
Moving slide config to its own file. eval is bad
Diffstat (limited to 'template.html')
-rw-r--r--template.html50
1 files changed, 6 insertions, 44 deletions
diff --git a/template.html b/template.html
index ce03ecf..c0a6bcd 100644
--- a/template.html
+++ b/template.html
@@ -29,11 +29,11 @@ URL: https://code.google.com/p/io-2012-slides
29 29
30 <slide class="title-slide segue nobackground"> 30 <slide class="title-slide segue nobackground">
31 <aside class="gdbar"><img src="images/google_developers_icon_128.png"></aside> 31 <aside class="gdbar"><img src="images/google_developers_icon_128.png"></aside>
32 <!-- The content of this hgroup is replaced programmatically through the config. --> 32 <!-- The content of this hgroup is replaced programmatically through the slide_config.js. -->
33 <hgroup class="auto-fadein"> 33 <hgroup class="auto-fadein">
34 <h1 data-config-title><!-- populated from config --></h1> 34 <h1 data-config-title><!-- populated from slide_config.js --></h1>
35 <h2 data-config-subtitle><!-- populated from config --></h2> 35 <h2 data-config-subtitle><!-- populated from slide_config.js --></h2>
36 <p data-config-presenter><!-- populated from config --></p> 36 <p data-config-presenter><!-- populated from slide_config.js --></p>
37 </hgroup> 37 </hgroup>
38 </slide> 38 </slide>
39 39
@@ -352,7 +352,7 @@ function helloWorld(world) {
352 <p>Important contact information goes here.</p> 352 <p>Important contact information goes here.</p>
353 </article> 353 </article>
354 <p class="auto-fadein" data-config-contact> 354 <p class="auto-fadein" data-config-contact>
355 <!-- populated from config --> 355 <!-- populated from slide_config.js -->
356 </p> 356 </p>
357 </slide> 357 </slide>
358 358
@@ -366,50 +366,12 @@ function helloWorld(world) {
366 366
367</slides> 367</slides>
368 368
369<script type="text/slide-config"> 369<script src="slide_config.js" defer></script>
370 var slideConfig = {
371 // Slide settings
372 settings: {
373 title: 'Title Goes Here<br>Up To Two Lines',
374 subtitle: 'Subtitle Goes Here',
375 //theme: ['mytheme'],
376 hashtag: '#html5', //TODO
377 useBuilds: true,
378 usePrettify: true,
379 //enableSideAreas: true, //TODO
380 enableTouch: true, // TODO: base this on media query instead.
381 analytics: 'UA-XXXXXXXX-1',
382 favIcon: 'http://bleedinghtml5.appspot.com/images/chrome-logo-tiny2.png',
383 onLoad: null, // TODO. function to call onload
384 fonts: [
385 'Open Sans:regular,semibold,italic,italicsemibold',
386 'Inconsolata'
387 ]
388 },
389
390 // Author information
391 presenters: [{
392 name: 'Firstname Lastname',
393 company: 'Job Title, Google',
394 gplus: 'http://plus.google.com/1234567890',
395 twitter: '@yourhandle',
396 www: 'http://www.you.com'
397 }/*, {
398 name: 'Eric Bidelman',
399 gplus: 'http://plus.ericbidelman.com',
400 company: 'Senior Developer Programs Engineer, Google Chrome',
401 twitter: '@ebidel',
402 www: 'http://www.ericbidelman.com'
403 }*/]
404 };
405</script>
406
407<script src="js/prettify/prettify.js" defer></script> 370<script src="js/prettify/prettify.js" defer></script>
408<script src="js/yepnope.1.5.3-min.js" defer></script> 371<script src="js/yepnope.1.5.3-min.js" defer></script>
409<script src="js/hammer.js" defer></script> 372<script src="js/hammer.js" defer></script>
410<script src="js/slides.js" defer></script> 373<script src="js/slides.js" defer></script>
411 374
412<!-- TODO: Add to slides.js -->
413<!--[if IE]> 375<!--[if IE]>
414 <script src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> 376 <script src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
415 <script>CFInstall.check({mode: 'overlay'});</script> 377 <script>CFInstall.check({mode: 'overlay'});</script>