Skip to content

Commit daf97da

Browse files
author
Phil Sturgeon
committed
added api city
1 parent 3ddc8ea commit daf97da

File tree

97 files changed

+18646
-2929
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+18646
-2929
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
6+
7+
<title>{{{title}}}</title>
8+
{{#absoluteUrl}}
9+
<meta property="og:title" content="{{{title}}}" />
10+
<meta property="og:type" content="website" />
11+
<meta property="og:image" content="{{{absoluteUrl}}}/featured-slide.jpg" />
12+
<meta property="og:url" content="{{{absoluteUrl}}}" />
13+
{{/absoluteUrl}}
14+
<link rel="stylesheet" href="{{{base}}}/css/reveal.css" />
15+
<link rel="stylesheet" href="{{{base}}}/{{{themeUrl}}}" id="theme" />
16+
<link rel="stylesheet" href="{{{base}}}{{{highlightThemeUrl}}}" />
17+
<link rel="stylesheet" href="{{{base}}}/css/print/{{#print}}pdf{{/print}}{{^print}}paper{{/print}}.css" type="text/css" media="print" />
18+
{{#cssPaths}}
19+
<link rel="stylesheet" href="{{{base}}}/{{{.}}}" />
20+
{{/cssPaths}}
21+
22+
{{#watch}}
23+
<script>
24+
document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>');
25+
</script>
26+
{{/watch}}
27+
</head>
28+
<body>
29+
<div class="reveal">
30+
<div class="slides">{{{slides}}}</div>
31+
<div id="crashy-footer" class="footer">
32+
<span class="element">stoplight.io</span>
33+
<span class="element">@philsturgeon</span>
34+
<span class="element">#ApiCityConf</span>
35+
</div>
36+
</div>
37+
38+
<script src="{{{base}}}/js/reveal.js"></script>
39+
40+
<style>
41+
.footer {
42+
position: absolute;
43+
display: table;
44+
width: 100%;
45+
bottom: 0;
46+
background-color: black;
47+
opacity: 0.5;
48+
padding: 8px;
49+
}
50+
51+
.footer span {
52+
display: table-cell;
53+
padding: 0px 15px 5px;
54+
55+
text-align: center;
56+
font-family: "Roboto Mono", monospace;
57+
font-size: 50%;
58+
}
59+
60+
.footer span:nth-of-type(1) {
61+
text-align: left;
62+
}
63+
.footer span:nth-last-child(1) {
64+
text-align: right;
65+
}
66+
</style>
67+
<script>
68+
window.addEventListener("load", function() {
69+
revealDiv = document.querySelector("body div.reveal")
70+
footer = document.getElementById("crashy-footer");
71+
revealDiv.appendChild(footer);
72+
});
73+
74+
function extend() {
75+
var target = {};
76+
for (var i = 0; i < arguments.length; i++) {
77+
var source = arguments[i];
78+
for (var key in source) {
79+
if (source.hasOwnProperty(key)) {
80+
target[key] = source[key];
81+
}
82+
}
83+
}
84+
return target;
85+
}
86+
87+
88+
// Optional libraries used to extend on reveal.js
89+
var deps = [
90+
{ src: '{{{base}}}/plugin/markdown/marked.js', condition: function() { return !!document.querySelector('[data-markdown]'); } },
91+
{ src: '{{{base}}}/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector('[data-markdown]'); } },
92+
{ src: '{{{base}}}/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
93+
{ src: '{{{base}}}/plugin/zoom-js/zoom.js', async: true },
94+
{ src: '{{{base}}}/plugin/notes/notes.js', async: true },
95+
{ src: '{{{base}}}/plugin/math/math.js', async: true }
96+
];
97+
98+
// default options to init reveal.js
99+
var defaultOptions = {
100+
controls: true,
101+
progress: true,
102+
history: true,
103+
center: true,
104+
transition: 'default', // none/fade/slide/convex/concave/zoom
105+
dependencies: deps
106+
};
107+
108+
// options from URL query string
109+
var queryOptions = Reveal.getQueryHash() || {};
110+
111+
var options = extend(defaultOptions, {{{revealOptionsStr}}}, queryOptions);
112+
</script>
113+
114+
{{#scriptPaths}}
115+
<script src="{{{base}}}/{{{.}}}"></script>
116+
{{/scriptPaths}}
117+
118+
<script>
119+
Reveal.initialize(options);
120+
</script>
121+
</body>
122+
</html>

0 commit comments

Comments
 (0)