aboutsummaryrefslogtreecommitdiff
path: root/scripts/md/base.html
diff options
context:
space:
mode:
authorEric Bidelman2012-10-16 15:29:21 -0700
committerEric Bidelman2012-10-16 15:29:21 -0700
commite6e5e9af62486952e9eb5c5adb06ba2775c5c92d (patch)
tree179f16c84633e6146c0e97a51e53d1306ad5a43d /scripts/md/base.html
parent97664e83d4eb0ec3a049e79d06273194d5212b25 (diff)
downloadio-slides-remote-e6e5e9af62486952e9eb5c5adb06ba2775c5c92d.tar.gz
Support for classes on content <article>
Diffstat (limited to 'scripts/md/base.html')
-rw-r--r--scripts/md/base.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/md/base.html b/scripts/md/base.html
index 919f967..9ccabd6 100644
--- a/scripts/md/base.html
+++ b/scripts/md/base.html
@@ -43,19 +43,19 @@ URL: https://code.google.com/p/io-2012-slides
43</slide> 43</slide>
44 44
45{% for slide in slides %} 45{% for slide in slides %}
46<slide class="{{ slide.class }}"> 46<slide {% if slide.class %}class="{{- slide.class -}}"{% endif %}>
47 {% if 'segue' in slide.class %} 47 {% if 'segue' in slide.class %}
48 <aside class="gdbar"><img src="images/google_developers_icon_128.png"></aside> 48 <aside class="gdbar"><img src="images/google_developers_icon_128.png"></aside>
49 <hgroup class="auto-fadein"> 49 <hgroup class="auto-fadein">
50 <h2>{{ slide.title }}</h2> 50 <h2>{{- slide.title -}}</h2>
51 <h3>{{ slide.subtitle }}</h3> 51 <h3>{{- slide.subtitle -}}</h3>
52 </hgroup> 52 </hgroup>
53 {% else %} 53 {% else %}
54 <hgroup> 54 <hgroup>
55 <h2>{{ slide.title }}</h2> 55 <h2>{{- slide.title -}}</h2>
56 <h3>{{ slide.subtitle }}</h3> 56 <h3>{{- slide.subtitle -}}</h3>
57 </hgroup> 57 </hgroup>
58 <article> 58 <article {% if slide.content_class %}class="{{- slide.content_class -}}"{% endif %}>
59 {{- slide.content -}} 59 {{- slide.content -}}
60 </article> 60 </article>
61 {% endif %} 61 {% endif %}