-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_layout.jade
42 lines (40 loc) · 1.78 KB
/
_layout.jade
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
doctype html
//
| Panda Slides HTML5 Slide Template
|
| Based on Google IO 2012/2013 HTML5 Slide Template
| by Eric Bidelman <[email protected]>
| Luke Mahé <[email protected]>
| URL: https://code.google.com/p/io-2012-slides
html
head
title Panda Slides
meta(charset='utf-8')
meta(http-equiv='X-UA-Compatible', content='chrome=1')
// <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
// <meta name="viewport" content="width=device-width, initial-scale=1.0">
// This one seems to work all the time, but really small on ipad
// <meta name="viewport" content="initial-scale=0.4">
meta(name='apple-mobile-web-app-capable', content='yes')
link(rel='stylesheet', media='all', href='styles/pandastrike.css')
link(rel='stylesheet', media='only screen and (max-device-width: 480px)', href='styles/phone.css')
link(rel='stylesheet', media='all', href='font-awesome/css/font-awesome.css')
// This amazingness opens all links in a new tab.
base(target='_blank')
script(data-main='js/slides', src='js/require-1.0.8.min.js')
body(style='opacity: 0')
slides.layout-widescreen
!= yield
script.
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXXX-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
//if IE
script(src='http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js')
script.
CFInstall.check({mode: 'overlay'});