diff options
author | Eric Bidelman | 2012-10-17 14:54:20 -0700 |
---|---|---|
committer | Eric Bidelman | 2012-10-17 14:54:20 -0700 |
commit | a56a1bc6e3070c86f3a6804d0fd7ecf1ad08fabd (patch) | |
tree | 6d180727ff5156d53fc62179ea9eaabef9c5775e | |
parent | e6e5e9af62486952e9eb5c5adb06ba2775c5c92d (diff) | |
download | io-slides-remote-a56a1bc6e3070c86f3a6804d0fd7ecf1ad08fabd.tar.gz |
Adding bg image support to slides
-rw-r--r-- | scripts/md/base.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/md/base.html b/scripts/md/base.html index 9ccabd6..acc7981 100644 --- a/scripts/md/base.html +++ b/scripts/md/base.html | |||
@@ -18,6 +18,7 @@ URL: https://code.google.com/p/io-2012-slides | |||
18 | <!--<meta name="viewport" content="initial-scale=0.4">--> | 18 | <!--<meta name="viewport" content="initial-scale=0.4">--> |
19 | <meta name="apple-mobile-web-app-capable" content="yes"> | 19 | <meta name="apple-mobile-web-app-capable" content="yes"> |
20 | <link rel="stylesheet" media="all" href="theme/css/default.css"> | 20 | <link rel="stylesheet" media="all" href="theme/css/default.css"> |
21 | <link rel="stylesheet" media="all" href="theme/css/app.css"> | ||
21 | <link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="theme/css/phone.css"> | 22 | <link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="theme/css/phone.css"> |
22 | <base target="_blank"> <!-- This amazingness opens all links in a new tab. --> | 23 | <base target="_blank"> <!-- This amazingness opens all links in a new tab. --> |
23 | <script data-main="js/slides" src="js/require-1.0.8.min.js"></script> | 24 | <script data-main="js/slides" src="js/require-1.0.8.min.js"></script> |
@@ -43,7 +44,7 @@ URL: https://code.google.com/p/io-2012-slides | |||
43 | </slide> | 44 | </slide> |
44 | 45 | ||
45 | {% for slide in slides %} | 46 | {% for slide in slides %} |
46 | <slide {% if slide.class %}class="{{- slide.class -}}"{% endif %}> | 47 | <slide {% if slide.class %}class="{{- slide.class -}}"{% endif %} {% if slide.image %}style="background-image: url({{- slide.image -}})"{% endif %}> |
47 | {% if 'segue' in slide.class %} | 48 | {% if 'segue' in slide.class %} |
48 | <aside class="gdbar"><img src="images/google_developers_icon_128.png"></aside> | 49 | <aside class="gdbar"><img src="images/google_developers_icon_128.png"></aside> |
49 | <hgroup class="auto-fadein"> | 50 | <hgroup class="auto-fadein"> |