diff options
author | Eric Bidelman | 2012-10-16 12:10:59 -0700 |
---|---|---|
committer | Eric Bidelman | 2012-10-16 12:10:59 -0700 |
commit | 087462f02af9b65f7839aaa88ff439e131a06938 (patch) | |
tree | 0995406e6d39d6d174fc62bf9eeaeeeae410713a /scripts | |
parent | 201310e073bb90e55cc2a94faacc98588092d16d (diff) | |
download | io-slides-remote-087462f02af9b65f7839aaa88ff439e131a06938.tar.gz |
md script handles segue slide
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/md/base.html | 22 | ||||
-rw-r--r-- | scripts/md/slides.md | 6 |
2 files changed, 21 insertions, 7 deletions
diff --git a/scripts/md/base.html b/scripts/md/base.html index e567f41..919f967 100644 --- a/scripts/md/base.html +++ b/scripts/md/base.html | |||
@@ -44,13 +44,21 @@ URL: https://code.google.com/p/io-2012-slides | |||
44 | 44 | ||
45 | {% for slide in slides %} | 45 | {% for slide in slides %} |
46 | <slide class="{{ slide.class }}"> | 46 | <slide class="{{ slide.class }}"> |
47 | <hgroup> | 47 | {% if 'segue' in slide.class %} |
48 | <h2>{{ slide.title }}</h2> | 48 | <aside class="gdbar"><img src="images/google_developers_icon_128.png"></aside> |
49 | <h3>{{ slide.subtitle }}</h3> | 49 | <hgroup class="auto-fadein"> |
50 | </hgroup> | 50 | <h2>{{ slide.title }}</h2> |
51 | <article> | 51 | <h3>{{ slide.subtitle }}</h3> |
52 | {{ slide.content }} | 52 | </hgroup> |
53 | </article> | 53 | {% else %} |
54 | <hgroup> | ||
55 | <h2>{{ slide.title }}</h2> | ||
56 | <h3>{{ slide.subtitle }}</h3> | ||
57 | </hgroup> | ||
58 | <article> | ||
59 | {{- slide.content -}} | ||
60 | </article> | ||
61 | {% endif %} | ||
54 | </slide> | 62 | </slide> |
55 | {% endfor %} | 63 | {% endfor %} |
56 | 64 | ||
diff --git a/scripts/md/slides.md b/scripts/md/slides.md index 060152d..8dd4d30 100644 --- a/scripts/md/slides.md +++ b/scripts/md/slides.md | |||
@@ -6,6 +6,12 @@ class: image | |||
6 | 6 | ||
7 | --- | 7 | --- |
8 | 8 | ||
9 | title: Segue Slide | ||
10 | subtitle: Subtitle | ||
11 | class: segue dark nobackground | ||
12 | |||
13 | --- | ||
14 | |||
9 | title: Agenda | 15 | title: Agenda |
10 | class: big | 16 | class: big |
11 | 17 | ||